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 is object class in java?
What are the different types of data structures in java?
Which one of the following suits the description of a string better: derived or primitive?
When can we say that threads are not lightweight process in java?
What is the exact difference in between Unicast and Multicast object? Where will it be used?
Can we override compareto method?
What are the 3 types of loops in java?
What are controls and their different types in awt?
What is a method signature java?
Is java same as core java?
What are filterstreams?
What are reference variables in java?
What is skeleton and stub?
Write a code to create a trigger to call a stored procedure
Say any two properties in beans?