Answer Posted / manikandan
There are 4 access specifiers available , they are
(1) Public
(2) Protected
(3) Default
(4) Private
and their scopes are
Access|Scope|
Speci | |CLASS | SUBCLASS | PACKAGE |GLOBAL
--------------------------------------------------------------
PUBLIC YES YES YES YES
PROTECTED YES YES YES NO
DEFAULT YES YES NO NO
PRIVATE YES NO NO NO
| Is This Answer Correct ? | 6 Yes | 9 No |
Post New Answer View All Answers
What do you understand by classes in java?
What are the topics in core java?
Can an anonymous class be declared as implementing an interface and extending a class in java programming?
What are the methods used to implement for the key object in the hash map?
What all methods are used to prevent thread execution ?
FOR EXAMPLE WE R HAVING TWO LIST ELEMENTS ..BOTH LISTS CONTAINS ID,NAME,PLACE ..I NEED TO COMPARE BOTH IDS IN TWO LISTS,IF ID'S R SAME MEANS WE HAVE ADD THE DETAILS(LIKE NAME,PLACE) TO MAP...HOW IS POSSIBLE ?CAN ANY ONE SUGGEST?
What are kinds of processors?
Can we return null in java?
why Java does not support multiple inheritances?
Explain when classnotfoundexception will be raised ?
how can you take care of mutual exclusion using java threads? : Java thread
What does this mean java?
What is class forname?
Why we use methods in java?
Why main method is called first in java?