what is the Diff. between Access Specifiers and Access
Modifiers?
Answer Posted / paul williams
Access Specifier is like a super class of Access Modifier
and Non-Access Modifier, which specifies the accessibility
of a field.
Access Modifier is like a sub class of Access Specifier,
there are actually 3 kinds in it namely,
1. Public
2. Protected
3. Private
Access Control in java is a little tricky as there are four
access control.
1. Public
2. Protected
3. Default
4. Private
| Is This Answer Correct ? | 22 Yes | 166 No |
Post New Answer View All Answers
What does indexof return in java?
Can classes declared using the abstract keyword cab be instantiated?
What is the static method?
Is java call by reference?
Which java ide is used the most?
why we use merge option in hybernate pls give a ex snippet
What is tree node in java?
How can we access some class in another class in java?
What are the steps involved to create a bean?
Can we override the private methods?
do I need to use synchronized on setvalue(int)? : Java thread
define the terminology association.
How do you use find and replace?
What is the difference between && and & in java?
How do you use nextline in java?