RU beehive logo ITEC dept promo banner
ITEC 120
2008spring
ibarland,
jdymacek

homeinfoarchiveexamslectureslabshws
RecipeLawsliessyntaxjava.lang docsjava.util docs

hw09
songs
due Apr.02

Write a program to represent a Song in a music collection. You must be to represent the types of information shown in the following screenshot:

In addition, you will need to represent a filename (a String) for each song.

After declaring your fields, use Eclipse to automatically generate the constructor, getters, and (where appropriate) setters. (Be sure to have eclipse generate comments you create these methods, and then go back and complete those comments.) Be sure to name your class Song.

Your code must be able to answer the following questions about songs:

Clarifications

Note: you will re-use this same class in a future homework, where will create lists of your song objects. On that homework, we'll write functions which do things like:

etc.

homeinfoarchiveexamslectureslabshws
RecipeLawsliessyntaxjava.lang docsjava.util docs


©2008, Ian Barland, Radford University
Last modified 2008.Apr.23 (Wed)
Please mail any suggestions
(incl. typos, broken links)
to iba�rlandrad�ford.edu
Powered by PLT Scheme