Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public static void main(String[] args) {
- Teacher t = new Teacher("Jan","Kowalski",30098513256L);
- t.setDegree("mgr inż.");
- t.info();
- Student s = new Student("Janek", "Kowalewski", 20456815698L, 1542);
- s.info();
- }
Add Comment
Please, Sign In to add comment