72472 CD Class - Java class

Closed

Description

I need the following: (VERY URGENT FROM A IMPORTANT CLIENT) Write a CD class. (New File/java class) The Fields will be Strings: title, artist, and loandedTo. There will be eight methods - a constructor taking parameters for title and artist, a toString method which will return a descriptive phrase about the CD such as "Abby Road by the Beatles". If the CD is on loan, toString will return "Abby Road by the Beatles on loan to Joe Brigante". public string toString ( ) { return title + ..... There will be methods to get and set each of the fields. public void setTitle(String t) { myTitle= t } public String getTitle () { return myTitle } Write a TestCD class. This should be a SimpleApp. In the constructor, call a start method. In the start method, create a 3 CDs. Print their descriptive phrases to the console. (Hint: [url removed, login to view] will look for a toString method if you tell it to print an object.). Change the title on one of the CDs. Lend a CD to someone. Print the descriptive phrases again. Show me, print out code and Terminal, hand in.

Skills: Anything Goes, Java

See more: get java, urgent java, urgent - java, java console, cd, create java object, file system java, object method, code change java, call code java, Java string, hint system, loan write, file loan, java terminal, write file java, write string class, java method, need someone class, loan code, java code change, java write, need urgent loan, java print method, client java

Project ID: #1820286

Awarded to:

logicartefact

I can provide it immediately.

$25 USD in 0 days
(0 Reviews)
0.0