Advertisement
Guest User

Untitled

a guest
Jun 20th, 2018
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. /*
  2. * To change this license header, choose License Headers in Project Properties.
  3. * To change this template file, choose Tools | Templates
  4. * and open the template in the editor.
  5. */
  6. package zad8.bank;
  7. import java.util.LinkedList;
  8. /**
  9. *
  10. * @author bomba
  11. */
  12. public class Klient {
  13. private final LinkedList<Konto> Konta = new LinkedList<>();
  14.  
  15. public void dodajKonto(Konto Konto){
  16. this.Konta.add(Konto);
  17. }
  18.  
  19. public LinkedList<Konto> getKonta() {
  20. return Konta;
  21. }
  22.  
  23.  
  24. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement