Question: JAVA HELP! Objective: For this assignment you will demonstrate that you can properly define and encapsulate external classes as well as join them together into

JAVA HELP!

JAVA HELP! Objective: For this assignment you will demonstrate that you can

properly define and encapsulate external classes as well as join them together

Objective: For this assignment you will demonstrate that you can properly define and encapsulate external classes as well as join them together into a single functioning program using an ArrayList as a data structure for all instantiated objects of your external class Description: Functional decomposition is just as important at the class level as it is at the method level. For this assignment you will decompose the information necessary to create a book inventory program into at least 2 external classes. These classes will interoperate using the composition construction technique. Your external class(es) must provide a method that describes itself that will be used by your driver class to create the program's output. Assignment: Create a command-line Java class that performs the following Your program must be properly decomposed into several classes (I ended up with 3 including the driver class, but you could use more) o . These classes must be properly n .These classes must be properly encapsulated * These classes must provide an appropriate constructor amed These classes must be instantiated by passing all appropriate information via the constructor * The required information is: . * Book title (String) Cover type (Enumeration) * Author (String) o First and last names must be stored independently Number of pages (Integer) Your driver class and main method should perform no logical processing at all, it should only invoke other methods that perform the needs of the program My driver class is included below in Table 2 to serve as an example, you may use this verbatim if you wish . o See Table 1 below for example output Upload your .JAVA code file(s) to the appropriate Blackboard assignment o Remember: Do NOT upload the.CLASS file(s) The HARDCOVER book titled "Hamlet" was written by William Shakespeare and has 240 pages. The SOFTCOVER book titled "Animal Farm" was written by George Orwell and has 240 pages. The SOFTCOVER book titled "1984" was written by George Orwell and has 120 pages. The SOFTCOVER book titled "The Law" was written by Frederic Bastiat and has 50 pages. The HARDCOVER book titled That Which is Seen, and That Which is Not Seen was written by Frederic Bastiat and has 58 Table 1- Example Output

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!