wood burning stoves 2.0*
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Most restrictive to least restrictive Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Most restrictive to least restrictive" Watch "Most restrictive to least restrictive" New topic
Author

Most restrictive to least restrictive

John Lincoln
Ranch Hand

Joined: Feb 11, 2003
Posts: 192
private--default--protected--public.

This is the right order for most restrictive to least restrictive


Thanks
marc weber
Sheriff

Joined: Aug 31, 2004
Posts: 11343



Is this a question? Or was it meant as a response to a question?


"We're kind of on the level of crossword puzzle writers... And no one ever goes to them and gives them an award." ~Joe Strummer
sscce.org
John Lincoln
Ranch Hand

Joined: Feb 11, 2003
Posts: 192
it is a question ?. I forgot "IS"

thanks
Anupam Sinha
Ranch Hand

Joined: Apr 13, 2003
Posts: 1088
private-->default-->protected-->public. most -> least restrictive
Yes this is the right order.
[ March 08, 2007: Message edited by: Anupam Sinha ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Most restrictive to least restrictive
 
Similar Threads
Access modifiers
default (package) vs public
Examulator Question
Protected VS default restiction level
jsp:useBean