what is the difference between the "protected and default"
modifiers?
Answer Posted / ravikiran
protected access is with in the same package and subclasses
outside the package
default access is with in the same package only
| Is This Answer Correct ? | 38 Yes | 3 No |
Post New Answer View All Answers
What does java se mean?
what is meant by Byte code concept in Java?
What is object data type?
Can we create constructor in abstract class ?
What method is used to specify a container's layout in java programming?
What is keyword and identifier?
Explain the overview of UDP messaging.
Can you explain the private protected field modifier?
What is synchronization and why is it important in java programming?
What does 3 dots mean in java?
What methodology can be utilized to link to a database?
What is the full form of jpeg?
What does this () mean in constructor chaining concept?
What is args length in java?
What is difference between core java and java ee?