wood burning stoves*
The moose likes Beginning Java and the fly likes doubt in access modifier Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "doubt in access modifier" Watch "doubt in access modifier" New topic
Author

doubt in access modifier

jonny miller
Greenhorn

Joined: Dec 17, 2008
Posts: 2
What is the most restrictive access modifier that will allow members of one class to have access to members of another class in the same package?
A. public
B. abstract
C. protected
D. synchronized
E. default access
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10268
    
    8

Originally posted by jonny miller:
What is the most restrictive access modifier that will allow members of one class to have access to members of another class in the same package?
A. public
B. abstract
C. protected
D. synchronized
E. default access


Hi Jonny,

Welcome to the Ranch. We are happy to have you here
One of the things which we don't do, is this


[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 38472
    
  23
Originally posted by Maneesh Godbole:
One of the things which we don't do . . .


What Maneesh means is, we would like you to write what you think the correct answer is, then we'll tell you whether you have got it right.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: doubt in access modifier