Answer Posted / umanath
Namely 4, but functionally 5
public--------------access to all
protected-----------limited to any class in same package and
sub class of any package
friendly(default)---limited to same package only
private protected---limited to sub classes of any package only
private-------------limited to same class only
| Is This Answer Correct ? | 7 Yes | 7 No |
Post New Answer View All Answers
Is java good for beginners?
What is the properties class?
Give reasons supporting that string is immutable.
What is jrmp?
What methods are used to get and set the text label displayed by a button object?
What is the difference between static class and normal class?
What is the default value of the local variables?
What is the purpose of the runtime class in java programming?
What are the steps in the jdbc connection?
How do you execute a thread in java?
What is lambda programming?
What is double data type?
How do you identify if jvm is 32-bit or 64-bit from java program?
How transient variable is different from volatile variable?
What is a bufferedreader?