dm6801

Lecturer

Dec 17th, 2017
37
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.40 KB | None | 0 0
  1. package subscribers;
  2.  
  3. public class Lecturer extends Subscriber {
  4.  
  5.     /* properties */
  6.     private String courses[];
  7.  
  8.     /* set, get methods */
  9.  
  10.  
  11.     /* constructors */
  12.     public Lecturer(String name) {
  13.         super(name);
  14.     }
  15.  
  16.     /* methods */
  17.     @Override
  18.     public String toString() {
  19.         return super.toString();
  20.     }
  21.    
  22.     public void writeExam() {
  23.  
  24.     }
  25.  
  26.  
  27.  
  28. }
Add Comment
Please, Sign In to add comment