how many access specifiers are available in java
Answers were Sorted based on User's Feedback
Answer / 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 |
How do you override a method in java?
What function extracts specified characters from a string?
What is difference between identifier and variable?
What is the definition of tree ?
What is difference between path and classpath?
How many types of variables are there?
What is the difference between variable & constant?
How do you create a bulleted list?
Explain the difference between a Thread and a Process.
Can we create a class inside a class in java?
What is a class in java?
Can you make an instance of an abstract class?