Search:

Type: Posts; User: helloworld922

Search: Search took 0.12 seconds.

  1. Replies
    10
    Views
    4,306

    Re: Many Errors

    Please surround your code with code goes here. It makes it much easier to read the code.

    You are trying to statically access fields of an instance variable.

    You need to have an instance before...
  2. Replies
    10
    Views
    4,306

    Re: Many Errors

    You can only use static with classes declared inside another class.

    Also, when declaring classes, you don't put parenthesis after the class declaration

    public class ParkedCar() // << wrong
    {}...
Results 1 to 2 of 2