It is telling you that each of your public classes must be in a separate file.
Specifically, Java requires:
Your public class ananimal must be in a file called ananimal.java
Your public class...
Type: Posts; User: Zaphod_b
It is telling you that each of your public classes must be in a separate file.
Specifically, Java requires:
Your public class ananimal must be in a file called ananimal.java
Your public class...