till now i understood that a top level class cant be private means any class that contains "MAIN" method cannot be private.
see the following code:
private class Base{}
public class Vis
{
transient int iVal;
public static void main(
String elephant[])
{
}
}
when this code is compiled syaing that the class "Base" can not be private.
a top level class cant be private means any class that appears at first cant be private?