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 |
What is operator?
What is boolean in java?
How is tree Mirroring implemented?
"We cannot create an object of interface but we can create a variable of it". Discuss the statement with the help of an example. (Plz help us to provide immediately.)
What are classloaders?
How many types of voids are there?
How you can create a radio buttion using Checkbox class?
What is the loop in java?
What is java lang object?
List java api that supports threads?
State differences between C and Java?
0 Answers Deloitte, JPMorgan Chase,
How multipleInheritance is possible in java?