Advertisement
Guest User

Untitled

a guest
May 23rd, 2017
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.59 KB | None | 0 0
  1. public class Konto {
  2. private String kontonummer;
  3.  
  4. private String PIN;
  5.  
  6. private double kontostand;
  7.  
  8. public Konto(String kontonummer, String PIN) {
  9. this.kontonummer = kontonummer;
  10. this.PIN = PIN;
  11.  
  12.  
  13. }
  14. public String getKontonummer() {
  15. return kontonummer;
  16. }
  17. public void setKontonummer(String kontonummer) {
  18. this.kontonummer = kontonummer;
  19. }
  20. public void setPIN(String PIN) {
  21. this.PIN = PIN;
  22. }
  23. public String getPIN() {
  24. return PIN;
  25. }
  26. public double getKontostand() {
  27. return kontostand;
  28. }
  29. public void setKontostand(double kontostand) {
  30. this.kontostand = kontostand;
  31. }
  32.  
  33. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement