The answer to ur compilation whoes is because the Java
Specification expects only a single public class in a
.java file. You may have any number of classes in a
java file but there can only be one public class in a
.java file and the name of the public class and the
file name should be the same...