Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class TeilC {
- public static void main (String[] args){
- Student omar = new Student("omar","fendri",1);
- System.out.println();
- System.out.println("\n Student's name : \t"+omar.getName());
- System.out.println("\n Studient's first name : \t"+omar.getFirstName());
- System.out.println("\n Semester #\t"+omar.getSemesterNumber());
- System.out.println("\n Matr. : "+omar.getMatrikulation());
- Vorlesung Programmieren = new Vorlesung("Programmieren");
- System.out.println("\n Name of the lecture : \t"+Programmieren.getName());
- System.out.println("\n Lecture #\t"+Programmieren.getLecNumber());
- Tutorium Prog = new Tutorium (0,Programmieren);
- System.out.println("\n Name of the Tutorial : \t"+Prog.getTutName());
- System.out.println("\n Tutorial #\t"+Prog.getTutNumber());
- Dozent x = new Dozent("Herr","Jemand");
- System.out.println("\n Professor's first name : \t"+x.getFirstName());
- System.out.println("\n Professor's name : \t"+x.getdName());
- System.out.println("\n Professor #\t"+x.getEmployeeNumber());
- System.out.println();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement