Advertisement
Guest User

Untitled

a guest
Jan 22nd, 2017
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. package assignment01;
  2. import java.io.Serializable;
  3. public class Instructor implements Serializable{
  4. private static final long serialVersionUID = -6606699573314198988L;
  5. private String name;
  6. private University univ;
  7. private InstructorCategory type;
  8. public Instructor(String name, University univ InstructorCategory){
  9. this.name = name;
  10. this.univ = univ;
  11. this.type = type;
  12. }
  13. public String getName(){
  14. return name;
  15. }
  16. public University getUniv(){
  17. return univ;
  18. }
  19. public InstructorCategory getType(){
  20. return type;
  21. }
  22. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement