Answer Posted / venki
Private : It can access with in the class only
public :It can Access Any where
proteced:It can access with in the package and sub class of
the package also
default:it access with in the package only.
| Is This Answer Correct ? | 13 Yes | 3 No |
Post New Answer View All Answers
What is byte value?
What is a superclass?
What is the difference between logical data independence and physical data independence?
How do you declare an array in java?
Why java uses the concept of the string literal?
What does regex mean?
Can an interface be final?
Where pragma is used?
Why java is considered as platform independent?
How static variable work in java?
In how many ways we can do exception handling in java?
What is the generic function?
Why runnable interface is used in java?
What does string mean in java?
What is use of super keyword in java?