Search:

Type: Posts; User: Norm

Search: Search took 0.08 seconds.

  1. Re: Write a driver program implementing an ArrayList of CD object

    Also posted at Write a driver program implementing an ArrayList of CD objects - Dev Shed
  2. Re: Write a driver program implementing an ArrayList of CD object

    Take a look at the tutorial about how to define variables:
    Variables (The Java™ Tutorials > Learning the Java Language > Language Basics)
    Declaring Member Variables (The Java™ Tutorials > Learning...
  3. Re: Write a driver program implementing an ArrayList of CD object

    I'm not sure what that means. Constructor names must be the same as the name of the class.
    Do you mean class variable names?
    The variables that the data is read into mist be define as local to the...
  4. Re: Write a driver program implementing an ArrayList of CD object

    The compiler can not find where the symbol in the error message is defined. You need to add a definition for that variable to the code.

    BTW the variable name should NOT be the same as the class...
  5. Re: Write a driver program implementing an ArrayList of CD object

    Copy the full text of the error messages and post it here. Fixing a something like that error is hard to do.

    The reading of the data should be done in the method that is going to create the...
  6. Re: Write a driver program implementing an ArrayList of CD object

    What have you tried? What class do you want to use to read the data from the user?
    Scanner is one
    JOPtionPane is another.
Results 1 to 6 of 6