Search:

Type: Posts; User: Norm

Search: Search took 0.16 seconds.

  1. Replies
    19
    Views
    4,766

    Re: Polynomial Array List

    Please post the program's output, explain what the problem is and show what the output should be.

    Also post the current version of the code that can be compiled and executed for testing.
  2. Replies
    19
    Views
    4,766

    Re: Polynomial Array List

    What method are you talking about?


    Add some println methods that print out the contents of the class being added to after each call to the add() methdod to show what is in the collection.
  3. Replies
    19
    Views
    4,766

    Re: Polynomial Array List

    If the reading of the input were inside the loop, then it would.
  4. Replies
    19
    Views
    4,766

    Re: Polynomial Array List

    To exit the loop, the variable: input has to be given a null value inside the loop.
  5. Replies
    19
    Views
    4,766

    Re: Polynomial Array List

    What variable's value controls the looping? Why doesn't that variable's value change so the loop will end?
  6. Replies
    19
    Views
    4,766

    Re: Polynomial Array List

    There is a variable with a null value on line 25. Look at line 25 in the your source and see what variable is null. Then backtrack in the code to see why that variable does not have a valid value....
  7. Replies
    19
    Views
    4,766

    Re: Polynomial Array List

    Where are the println() statements that would create output?
    Add some more println() statements to print out messages when methods execute and to show the values of variables as they are changed and...
  8. Replies
    19
    Views
    4,766

    Re: Polynomial Array List

    Get them out of the arraylist so they can be compared.
  9. Replies
    19
    Views
    4,766

    Re: Polynomial Array List

    Try to do the assignment one step at a time. When you have problems with a step, post the code and ask your questions about the problems you are having.
Results 1 to 9 of 9