The println calls need to be inside of a method or constructor.
Statements outside of methods are executed when the class is instantiated. They are for defining and initializing variables.
Type: Posts; User: Norm
The println calls need to be inside of a method or constructor.
Statements outside of methods are executed when the class is instantiated. They are for defining and initializing variables.