This is my first project in university, I need to develop an application for a library
so I have 4 classes
1- sub class (Book): it have the book info
2-sub class (libMember): it have the members info
3-main class (LibrarySystem): I have the methods of adding, removing etc. to both Book and libMember classes
4-test class (LibraryMain): basically the main functions in it.
it's an easy concept but I'm struggling with connecting all the classes together.
do I use interface (implement) or should I use inheritance (extends)?
i know that i can't extend multipule classes in java, but how else would be doing it.