What is the difference between Access Modifier and Access
specifier?
Answer / nilesh.bhil@gmail.com
Access Modifier can define the ristrict level of visibility.
There are three types of Access Modifier.
1)Private
2)Protected
3)Public
There are four types of Access Mode.
1)Private
2)Protected
3)Public
4)Default or Pakage mode
Access specifiers define behaviour level of visibility.
The Access Specifier are
abstract, static, final, strictfp etc.
| Is This Answer Correct ? | 10 Yes | 7 No |
Can you use abstract and final both with a method?
What is return in java?
What is oops in java?
What is local class in java?
What is the primary benefit of encapsulation?
What is the best definition for data?
How many classes can any class inherit java?
Under what circumstances an object reference be cast to an interface reference?
What is try-with-resources in java?
Explain the difference between scrollbar and scrollpane?
What is user defined exception?
What is the default size of arraylist in java?