Question: AP Computer Science - ArrayLists Objective Learn how to write classes using arraylists Required Files to Create CD.java - contains instance variables and methods for

 AP Computer Science - ArrayLists Objective Learn how to write classes

AP Computer Science - ArrayLists Objective Learn how to write classes using arraylists Required Files to Create CD.java - contains instance variables and methods for title, number of songs, artist, publisher, and price of the CD and methods get and set the information and to sort and reverse the list. CDApp.java - Create 10 CD objects and populate with values for the above variables. Resources ArrayList Java SDK Problem Statement For this lab you will complete two classes, class CD.java and class CDApp.java. Items to do: This class will allow us to create CD objects. Output Format For full credit, output must be formatted in an easy-to-read manner (should be in a table type format with headers and tabbed appropriately). Title Artist Publisher Number of Songs Price Sun Fun Beck Arista 4 Free Darkness Led Zepplin Capitol 9 19.99 Sample Run Print out the Title of the CD, the Artist, publisher, the number of songs and the price

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!