A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
Win a copy of
Arduino in Action
this week in the
General Computing
forum!
A special promo:
Enter your blog post or vote on a blogger to be featured in an upcoming Journal
JavaRanch
»
Java Forums
»
Certification
»
Programmer Certification (SCJP/OCPJP)
Author
Most restrictive to least restrictive
John Lincoln
Ranch Hand
Joined: Feb 11, 2003
Posts: 192
posted
Mar 08, 2007 09:03:00
0
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
I like...
posted
Mar 08, 2007 11:20:00
0
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
posted
Mar 08, 2007 11:31:00
0
it is a question ?. I forgot "IS"
thanks
Anupam Sinha
Ranch Hand
Joined: Apr 13, 2003
Posts: 1088
posted
Mar 08, 2007 11:43:00
0
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://zeroturnaround.com/jrebel
- it saves me about five hours per week
subject: Most restrictive to least restrictive
Similar Threads
Examulator Question
Access modifiers
Protected VS default restiction level
jsp:useBean
default (package) vs public
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter