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
What is diamond operator in java?
What is java volatile?
What does n mean?
what is the difference between future and callable interface in java?
Does java support multiple inheritance or not?
Can java object be locked down for exclusive use by a given thread?
What is parsing a string?
What is the properties class?
What are Normalization Rules? Define Normalization?
Explain an intermediate language?
What exactly is a .class file?
What is keyword in oop?
What is the collections api?
Is java 11 paid version?
When do we use synchronized methods in java?