This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Private Access Modifier for class

 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
kishen uchil
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic