Search:

Type: Posts; User: Norm

Search: Search took 0.10 seconds.

  1. Replies
    5
    Views
    831

    Re: Help with Inheritance in Java.

    The compiler can not find a definition for the variable named in the error message.
    Check:
    does it exist
    is it in scope
    is it spelled correctly

    Variables can be defined outside of methods or...
  2. Replies
    5
    Views
    831

    Re: Help with Inheritance in Java.

    Most executeable statements must be INSIDE a constructor or method.

    The code tried to pass arguments to a constructor that has no arguments.
    Add a constructor to the class that takes the...
  3. Replies
    5
    Views
    831

    Re: Help with Inheritance in Java.

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

    BTW Java naming conventions are that classnames begin with UPPERCASE letters.


    Be sure...
Results 1 to 3 of 3