Search:

Type: Posts; User: KevinWorkman

Search: Search took 0.11 seconds.

  1. Replies
    9
    Views
    1,575

    [SOLVED] Re: cannot find symbol error

    Those methods should almost definitely not be void.
  2. Replies
    9
    Views
    1,575

    [SOLVED] Re: cannot find symbol error

    Yes, but you declared them inside the method, which means they're only available inside the method. Hint- You're returning a value from those methods, but you aren't doing anything with those values.
  3. Replies
    9
    Views
    1,575

    [SOLVED] Re: cannot find symbol error

    mccolem, please read this before posting again: http://www.javaprogrammingforums.com/cafe/9544-problem-spoon-feeding.html
  4. Replies
    9
    Views
    1,575

    [SOLVED] Re: cannot find symbol error

    When declaring a variable, you have to give it a type. I can't just say:

    x = 7;

    I have to tell Java what the heck x is:

    int x = 7;

    Same with Strings, Objects, doubles, whatever.
Results 1 to 4 of 4