Main method.paramargs Command line arguments. OuterClass.SomeClass obj = new OuterClass.SomeClass(); obj.someMethod(); // OuterClass.SomeOtherClass prot = new OuterClass.SomeOtherClass(); // <= Compiler error OuterClass.doPrivate();
OuterClass.SomeClass obj = new OuterClass.SomeClass(); obj.someMethod(); // OuterClass.SomeOtherClass prot = new OuterClass.SomeOtherClass(); // <= Compiler error OuterClass.doPrivate();