72472 CD Class - Java class

This project was awarded to logicartefact for $25 USD.

Get free quotes for a project like this
Project Budget
Total Bids
Project 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.

Awarded to:
Skills Required

Looking to make some money?

  • Set your budget and the timeframe
  • Outline your proposal
  • Get paid for your work

Hire Freelancers who also bid on this project

    • Forbes
    • The New York Times
    • Time
    • Wall Street Journal
    • Times Online