Java abstract project - open to bidding
$30-250 USD
Paid on delivery
1. Design and implement an abstract class called LibraryMaterial -fields: author, title, price, publication year -constructor should have 4 parameters -methods: multiple getxxxx and setxxxx ; displayInfo
2. Design and implement two subclasses that define various types of library materials:
class Book - fields: type (hardcover/paperback/large print); edition (1st, 2nd, …); number of pages. - default constructor - non-default constructor (use super reference) - methods: get/set methods, displayInfo
class AudiovisualMaterial - fields: type (audio tape, CD, DVD), cover image (not a string that represents file name!), short sound clip (up to 10 sec., not necessarily a fragment of the material) - default constructor - non-default constructor (use super reference) - methods: get/set methods, displayInfo, displayCover, playSoundClip
3. Create a UML class diagram (Violet or Visio file)
4. Create a Librarian class that should:
_instantiate three books using default constructor, then populate the instances;
_instantiate and populate a CD and a DVD using non-default constructor;
_insert a set of music on cassette into your structure at the third position;
_display all the information about all the accumulated library materials.
5. Create javadoc
General directions
_Use a polymorphic approach.
_Use enhanced for loop for traversing.
_Create a user-friendly, appealing user interface.
_When designing the algorithm and choosing data structures, be sure to make it convenient for adding the materials.
_You can “hardcode” the data using the following entries found on [url removed, login to view]:
http://www.amazon.com/Texas-Homeowners-Association-Law-2nd/dp/1938223780/ref=sr_1_1
http://www.amazon.com/Motivational-Interviewing-Third-Edition-Applications/dp/1609182278/ref=sr_1_1
http://www.amazon.com/Psionic-Power-4th-Edition-Supplement/dp/0786955600/ref=sr_1_4
http://www.amazon.com/Air-Live-At-BBC/dp/B00F3VOL38/ref=sr_1_4
http://www.amazon.com/Kyle-Gross-Everyday-Wonders-Cassette/dp/B00GIZDXUA/ref=sr_1_3
http://www.amazon.com/Monsters-University-DVD/dp/B00E9ZATJO/ref=sr_1_1
Project ID: #5165903