daily pastebin goal
21%
SHARE
TWEET

Untitled

a guest Sep 14th, 2018 54 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. public class Valstybe
  2. {
  3.           private String pavadinimas;
  4.           private Seimas seimas;
  5.    
  6.           public Valstybe(String pavadinimas, Seimas seimas)
  7.           {
  8.                   this.pavadinimas = pavadinimas;
  9.                   this.seimas = seimas;
  10.           }
  11. }
  12.  
  13. public class Parlamentaras
  14. {
  15.           public String vardas;
  16.           public String pavarde;
  17.    
  18.           public Parlamentaras(String vardas, String pavarde)
  19.           {
  20.                   this.vardas = vardas;
  21.                   this.pavarde = pavarde;
  22.           }
  23. }
  24.  
  25. public class Seimas
  26. {
  27.           public List <Parlamentaras> parlamentaras = new ArrayList();
  28.    
  29.           public Seimas(List parlamentaras)
  30.           {
  31.                    this.parlamentaras = parlamentaras;
  32.           }
  33.    
  34.           public void prideti_seimo_nary(Parlamentaras P)
  35.           {
  36.        
  37.           }
  38.    
  39.           public void perziureti_narius()
  40.           {
  41.        
  42.           }
  43. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top