What is the difference between Access Modifier and Access
specifier?
Answer Posted / 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 |
Post New Answer View All Answers
What is difference between this and super keyword?
Can we create more than one object singleton class?
What is the purpose of skeleton and stub?
Explain about sets?
What is the default value of byte datatype in java?
List some features of the abstract class.
Can you sort a string in java?
What is flush () in java?
How do you sort in java?
Is java a digit method?
Explain all java features with real time examples
What is final method?
What is function declaration?
What is the destroy method?
extending thread class or implementing runnable interface. Which is better? : Java thread