by CodeChum Admin
Given the Student class that inherited from the Person class (the same ones from our lesson), construct another class called StudentAssistant. The class inherits from Student. What makes a StudentAssistant different from Student is that they have to render a fixed set number of hours. All student assistants are to render at least 40 hours of duty in a month. This maybe changed at any time by the Administrator.
More Info here, Important!
https://pastebin.com/PKEgsRSQ
public class StudentAssistant extends Student{
private int numberOfHours;
}
Comments
Leave a comment