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
How do you insert a line break?
Can a hashset contain duplicates java?
What are multiple inheritances?
What are the pillars of java?
How to pass arraylist to stored procedure in java?
What is the definition of tree ?
How big is a pointer?
Explain a situation where finally block will not be executed?
What is lambda programming?
What is this keyword in java?
What is rule of accessibility in java?
What is a parameter example?
Which package has light weight components in java programming?
Do you know why doesn't the java library use a randomized version of quicksort?
What are the java ide’s?