This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Soft Skills: The software developer's life manual and have John Sonmez on-line!
See this thread for details.
Win a copy of Soft Skills: The software developer's life manual this week in the Jobs Discussion forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

private enum member within same file, is it possible?

 
Oskar Morganstern
Greenhorn
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


How come I can access points?
something which I declared as private. I know that if I declared the enum in a separate file that it would not be visible. But why is it visible within the same file?
 
Christophe Verré
Sheriff
Pie
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A rancher asked the same question yesterday Here.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic