I am confused that in which situation we can use private access modifier for a class. if no feature of that can be used , what's use of that class Pls Explain Thanx mohit
Joined: Aug 21, 2000
hi there mohit!!! you got it wrong man remember that a top level class can never be private,(they cant' even be protected,native,static or synchronized).only methods and variables inside the class can be private.