New to Coding. I have a world, made a subclass called "Lawn" and I need to change the size of the lawn to 10x10
What I have read from the API says all I have to do is go to my "Lawn" subclass and in the constructor section
put " super(int width, int height); " .
I have tried that a couple times and it keeps returning "illigal start of type" so then I changed it to:
"public World()
{
super(10, 10);
} "
and now it returns "invalid method declaration, return type required. When I put "void" for return type (the only one I have learned), it says
"call to super must be first statement in constructor". This is going in circles. Any help would be appreciated. Thanks

