Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/avan1235/oop-studies-model
https://github.com/avan1235/oop-studies-model
Last synced: about 10 hours ago
JSON representation
- Host: GitHub
- URL: https://github.com/avan1235/oop-studies-model
- Owner: avan1235
- Created: 2022-04-13T07:10:09.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-04-23T19:21:47.000Z (over 2 years ago)
- Last Synced: 2023-03-03T23:35:59.211Z (over 1 year ago)
- Language: Kotlin
- Size: 57.6 KB
- Stars: 0
- Watchers: 1
- Forks: 15
- Open Issues: 13
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Studies system
Your task is to model the system that is capable of managing students and staff members
as a part of student system.Students should have some programs assigned to them as well as personal information about their
studies' status.Staff members can maintain some classes as well as have some set of publications that they've published.
As a part of this task you should:
- create your own class hierarchy from scratch for this problem (as we did on exercises)
- provide at least 2 examples of overriding in your class model:
- the first using reference to `super` in its implementation
- the second completely overriding parent's method (which may be `abstract`)
- have a look how Java `Map` work (and use probably `HashMap`) and use it in system
- have a look how Java `Set` and use it in staff member
- work with `static` variables to generate identifiers for consecutive people in the world (you can assume that
people get natural numbers in the order of their creation) - create `PersonFactory` class with only static methods
that will be responsible for creating students and staff members
- play with your model in `Main` class a little and show how your implementation works