Guest User

Untitled

a guest
Jan 22nd, 2018
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. public static void main(String[] args) {
  2.  
  3.  
  4. Teacher t = new Teacher("Jan","Kowalski",30098513256L);
  5. t.setDegree("mgr inż.");
  6. t.info();
  7.  
  8. Student s = new Student("Janek", "Kowalewski", 20456815698L, 1542);
  9. s.info();
  10. }
Add Comment
Please, Sign In to add comment