Search:

Type: Posts; User: Norm

Search: Search took 0.11 seconds.

  1. Replies
    22
    Views
    1,763

    Re: Can any one tell me why I am getting an error

    Get a couple of cheap used books to start with. Basic java is still the same as it was 5 years ago.
  2. Replies
    22
    Views
    1,763

    Re: Can any one tell me why I am getting an error

    Did you see my last post about spelling?


    Where is the variable case1 defined?

    If you are trying to write a switch statement you need to go to a reference book to get the correct syntax for...
  3. Replies
    22
    Views
    1,763

    Re: Can any one tell me why I am getting an error

    Please copy the full text of the error message and paste it here. It has important info about the error.

    One problem I see is spelling errors. Java is case sensitive. Check the spelling of the...
  4. Replies
    22
    Views
    1,763

    Re: Can any one tell me why I am getting an error

    Please explain where your problems are? If you are getting error messages, copy the full text and paste it here.


    Be sure to break the task up into small steps and work on one at a time.
    ...
  5. Replies
    22
    Views
    1,763

    Re: Can any one tell me why I am getting an error

    The posted code still needs formatting. Do all the statements start in the first column in your editor?
  6. Replies
    22
    Views
    1,763

    Re: Can any one tell me why I am getting an error

    If you format the code properly, it will be much easier to see where the paris of {}s are.



    class A_Class {
    int classVar; // define at class level; in Scope in all methods

    ...
  7. Replies
    22
    Views
    1,763

    Re: Can any one tell me why I am getting an error

    What pair of {}s is studentlist2 defined in? Is the statement with the error within the same pair of {}s.
    In other words, is studentlist2 in scope where the error is?

    Because of the poor...
  8. Replies
    22
    Views
    1,763

    Re: Can any one tell me why I am getting an error

    You missed this part:
    Please edit your post and format the code so that nested statements are indented 3-4 spaces to show the program's logic. All statements should NOT start in the first column.
    ...
  9. Replies
    22
    Views
    1,763

    Re: Can any one tell me why I am getting an error

    Please edit your post and format the code so that nested statements are indented 3-4 spaces to show the program's logic. All statements should NOT start in the first column.

    Code should be in...
  10. Replies
    22
    Views
    1,763

    Re: Can any one tell me why I am getting an error

    To wrap your code with code tags:


    <YOUR CODE HERE>

    to get highlighting and preserve formatting.
Results 1 to 10 of 10