Telgar/Problem311
From Exalted - Unofficial Wiki
Revision as of 16:46, 16 February 2005 by 168.190.200.39 (talk)
public class Collection {
public Collection() { ArrayList CDC = new ArrayList(); } public void addCD() { int ye; int id; String ti; String ar; String ge; System.out.println ("Enter year of purchase"); ye = Keyboard.readInt(); System.out.println ("Enter title of CD"); ti = Keyboard.readString(); System.out.println ("Enter arist"); ar = Keyboard.readString(); System.out.println ("Enter genre"); ge = Keyboard.readString(); System.out.println ("Enter ID number"); id = Keyboard.readInt(); Collection.addCD(); }
}