In this section of the code i have no idea why everything including the main is inside the dog class. Please help.
All code in Java must be contained inside of a class so it may be referenced from other classes and methods.
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.