Enthuware is stating that this code would not compile because a top level class shouldn't be private.
I would say this code would not compile because TC in class TestClass is no constructor and should have a return type. [ June 12, 2007: Message edited by: Remko Strating ]
hi sir, enthuware is true according to concept of method overriding but he is wrong bcoz method overriding is not apply on constructors.Reason is that constructor have no return type so we cant say constructor like a method and entuware wrongly used constructor as normal method. any class can have default or public access modifier so private cant use here.