I have the following two class
public abstract class Animal{
....
}
public Dog extends Animal {
...}
I get the following error
__tester__.java:1: error: class Animal is public, should be declared in a file named Animal.java public abstract class Animal { ^If I remove the public from the Animal class it will work. How can I force into multiple files.
Thank you in advance
Please Help