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
How many types of assembly languages are there?
Why java doesn’t support multiple inheritances?
What is stream api in java8?
What is module in oop?
Explain the difference between intermediate and terminal operations in java8?
How can you set the applet size?
What is currentthread()?
How to compare two strings in java program?
How do weakhashmap works?
Explain the differences between static and dynamic variables?
What’s the difference between applets and standalone program?
what is server side caching?
What is a private class in java?
What is parsing and its types?
What are the two categories of data types in the java programming language?