Search:

Type: Posts; User: Norm

Search: Search took 0.12 seconds.

  1. Replies
    10
    Views
    1,926

    Re: Problem with the code

    This line uses the class's constructor to create a new object:
    new Specification(name, IP, OS, RAM);

    put that(with correct variable names) in the call to add()
  2. Replies
    10
    Views
    1,926

    Re: Problem with the code

    Poor technique.
    Create a new object using its constructor and add that new object to a
  3. Replies
    10
    Views
    1,926

    Re: Problem with the code

    Can you describe what the ADD feature should do?
    Describe the steps your program needs to take to get the data, organize it into an object and save it.

    Comment on your code:
    Don't use single...
  4. Replies
    10
    Views
    1,926

    Re: Problem with the code

    Test the size of the array list and do not try to get any elements that are not in the list.
    If there is a single element, then the largest index you can use is 0. If there are 2 in the list, the...
Results 1 to 4 of 4