Well, like I stated before as well, I am very new to Java, this being my first course in it. So please bear with me as I may seem like I don't know what I'm doing or saying for that matter.
My...
Type: Posts; User: LeahH
Well, like I stated before as well, I am very new to Java, this being my first course in it. So please bear with me as I may seem like I don't know what I'm doing or saying for that matter.
My...
Well, my class names are CD class, CDException and CDStore
The constructor names are sArtist, sAlbum, dPrice, and inStock
I cannot change the names, per my instructor.
Which is why I asked,...
This is what pops up. I thought that all the classes would be linked? Hmm.
CDStore2.java:12: cannot find symbol
symbol : variable sArtist
location: class CDStore2
sArtist = reader.nextLine(...
I haven't learned what the JOptionPane is. I know I have to use the scanner. But I have three different classes, the exception, CD class, and the driver class. And I have my constructors in the CD...
I have written the CDException class and the CD class, and now I'm trying to write a driver class to run the other classes. I have to
Read the artist name from user
Read the album name...