Student System model
Your task
You can find today’s task with its short description here.
Your goal is to provide full implementation of Student/Staff model for students' system and
play with it in Main
to see how extending and overriding in Java really works.
Extra notes
- You don’t have to create a
PersonFactory
class (but you may) - You should add enumerate following
Person
with next numbers - as we’ve discussed you can do it withprivate static int personIndex = 0;
located in your
Person
class and using it in constructor of anyPerson