About Question enthuware.ocpjp.v8.2.1327 :
Posted: Sun Sep 04, 2016 9:25 am
Hello ,
Can we consider class C as static class since it is declared inside static method main ?
If that is right so why new TestClass.C(); doesn't work - although new TestClass.B(); working fine?
Kindly clarify.
Can we consider class C as static class since it is declared inside static method main ?
If that is right so why new TestClass.C(); doesn't work - although new TestClass.B(); working fine?
Kindly clarify.