MainMenu class has a zero- to- one, i.e. direct relationship to MagazineMenu and SubscriptionMenu classes.
MagazinesMenu also has zero- to- one relationship to SubscriptionMenu Class.
MagazinesMenu and SubscriptionMenu class has a zero-to-many relationship to Magazine and Subscription class as subscription can be for any number of magazines, so it has zero-to-many relationship.
Subscription class is directly linked to the Magazine class as it has zero-to-one relationship between them.
Classes
- FileHandler
- Fields
- outByteStream – FileOutputStream
- OOStream – ObjectOutputStream
- inByteStream – FileInputStream
- OIStream – ObjectInputStream
- aFile – File
- Methods
- FileHandler()
- getPath()
- isFileEmpty()
- saveToFile(Subscription[])
- loadFromFile()
- Description
- This class is created to get the file ...