The way to get better and learn is to write lots of code.
One practice that is useful is to compile frequently. Type in some code and compile it, fix the problems and continue. Don't type in too...
Type: Posts; User: Norm
The way to get better and learn is to write lots of code.
One practice that is useful is to compile frequently. Type in some code and compile it, fix the problems and continue. Don't type in too...
You can not define one method within another. There must be an ending } for the main() method BEFORE you can define another method: displayObject()
Where are the class definitions for Dog, Cat...
If you don't post the errors you are getting how do you expect anyone to help you solve the problem?
We expect you to write your code. If you have problems we'll help you solve them.
Please post the full text of errors you are getting.
You would use the print or println methods to display Strings on the console. The contents of the objects must be converted to Strings to be...
Please explain what your problem is? Where are you stuck?
Do you have a question or problem? Please explain.