The class Test
{
Public static void main (String [] args)
{
//create a Animal object
Animal a=new Animal ();
A. eg=4;
A.e the at ();
Arjun ove ();
}
}
CodePudding user response:
Recommend using integrated software for learning, such as eclipse, idea, etc., it is more convenient, use the command line to run the package, not too convenient to learn;More errors, is obviously to find Animal class, you will need to package, both unified operation