Question: Hi! How can I make a JAVA class given by the following UML? ________________________________________________________ - author : String - title : String - cover :
Hi! How can I make a JAVA class given by the following UML?
________________________________________________________
- author : String - title : String - cover : String - pages : int - copyright : int - readTime : float
<
+ getAuthor() : String + getTitle() : String + getCover() : String + getPages() : int + getCopyright() : int + getReadTime() : float + setAuthor(title : String) + setTitle(author : String) + setCover(cover : String) + setPages(pages : int) + setCopyright(copyright : int) + setReadTime(readTime : float) + calcReadTime(ppm : int) : float
________________________________________________________
In the Java class produced from the UML, the user should input an array of books. The length of this array should be based on the number of books the user enters. After the books have been entered, invoke a method to show the contents of the array in a table.
Thank you! :)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
