i read his on marcus green notes today
Class and inner class declarations:
A file can only contain one outer public class. If you attempt to create a file with more than one public class the compiler will complain with a specific error. A file can contain multiple non public classes, but bear in mind that this will produce separate .class output files for each class. It does not matter where in the file the public class is placed, so long as there is only one of them in the file.
so is he saying that the following code will not compile??
public class Tesy {
public class inner{
}
public static void main(
String args[]) {
}
}
thank you