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
Is null a string?
What is the difference between java applets and applications?
What are the differences between throw and throws?
Which class is the superclass for every class in java programming?
What are the Main functions of Java?
What is tostring () method?
do I need to use synchronized on setvalue(int)? : Java thread
How do you download stubs from Remote place?
How do you declare an array in java?
What does || mean in code?
How to find the given number is a prime number or not by getting input from the user
What is the unit of plancks constant?
What are the important methods of java exception class?
What exactly is java?
Should a main method be compulsorily declared in all java classes?