Question: Write a Java implementation for the classes outlined in the UML diagram above. You should ensure that the application is serializable. [18 Marks] b) Write

Write a Java implementation for the classes outlined in the UML diagram above. You should ensure that the application is serializable. [18 Marks] b) Write a tester class which creates an instance of the BookCollection class and populate it with a Classic object and a Mystery object. The tester class should then display the contents of the BookCollection and serialize the application.

Write a Java implementation for the classes outlined in the UML diagram

You are required to: > ISBN > Book Collection -Isbn > Books title: String Books() Books(String, String) getTitle():String setTitle(String):void toString():String -collection 0.. isbn: String FISBN setISBN(String):void getISBN):String 0..1 BookCollection getCollection():ListBooks addBooksBooks) boolean removeBooks(Books); boolean serialise():void > Classic Classic(String, String) genre(): String > Mystery Mystery(String, String) genre():String a) Write a Java implementation for the classes outlined in the UML diagram above. You should ensure that the application is serializable. [18 Marks b) Write a tester class which creates an instance of the BookCollection class and populate it with a Classic object and a Mystery object. The tester class should then display the contents of the Book Collection and serialize the application

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!