Search:

Type: Posts; User: javapenguin

Search: Search took 0.07 seconds.

  1. Replies
    13
    Views
    1,966

    Re: Null pointers

    I was wondering if you were doing some kind of Linked List, as I just covered them in class lately. I still don't know much about them. However, I recognized the Node class. However, normally I've...
  2. Replies
    13
    Views
    1,966

    Re: Null pointers

    private void insertNodeBack(int value)
    {
    System.out.println(value);
    Node newNode = new Node(value);
    if (isEmpty() == true or false. pick one)
    this.high =...
  3. Replies
    13
    Views
    1,966

    Re: Null pointers

    String solution = null;
    if(negative)
    solution += '-';

    negative == what?

    I'm not sure if you can use += with a String. Are you meaning to add it to a null String? Maybe...
  4. Replies
    13
    Views
    1,966

    Re: Null pointers

    What are you hoping for? What type of number? Is it a 1 or 5 or a 15?

    If it's a 1 or a 5, maybe it's putting two values like 5 and 1 together to get 51.
  5. Replies
    13
    Views
    1,966

    Re: Null pointers

    Well, it's probably from setting so many things to null. Some values may not have been set to something else, leaving them still null.
    As a rule, though I never follow it very much myself, but I'm...
Results 1 to 5 of 5