title | type | duration | creator | ||||
---|---|---|---|---|---|---|---|
Inheritance and Abstraction HW |
Homework |
1:00 |
|
Note: This can be a pair programming activity or done independently.
This homework will provide you with some more practice on creating abstract classes, subclasses, and interfaces. You need to design an app that manages a school. The school has Classrooms, and the Classrooms have Teachers and Students assigned to them. Each classroom contains students in a single grade (1st, 2nd, 3rd, etc.).
The actions and properties of each class is up to you to decide.
- At least one abstract class
- At least one interface
- At least 3 subclasses
- Each subclass must be unique from the others
Bonus:
- Add extra classes/subclasses/interfaces
Java code for classes/interface(s) that meet the requirements above.