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...
Type: Posts; User: helloworld922
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...
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
{}...