• Post Reply Bookmark Topic Watch Topic
  • New Topic

Access Specifiers  RSS feed

 
raghavendra
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
is public,default,protected,private the correct order of access specifiers(most access to least access) or public,protected,default,private the correct order.
i am confused because, R&H and Thinking in Java state the order rather differently.
thanks,
raghavendra
 
raghavendra
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Then there is a mistake in Chapter 5 of Thinking in Java book!!!
thanks,
raghavendra
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!