Search:

Type: Posts; User: jim829

Search: Search took 0.08 seconds.

  1. Re: Cannot make static reference to a non-static method?

    BTW, Your thumbnail image of the error "NoSuchElementException" is what happens when you try to read from a closed console.

    Regards,
    Jim
  2. Re: Cannot make static reference to a non-static method?

    No, it won't. In fact, if you were to continue to ask for input for conversions, say in a loop, your program wouldn't work.

    Try running this simple program to see what happens when you close the...
  3. Re: Cannot make static reference to a non-static method?

    Unreachable code means that due to some logic, that code won't be reached. Here is an example:



    void foo() {
    // do something
    return;
    a = 10; <-- this code will not be reached....
Results 1 to 3 of 3