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 predefined function in java?
Why do we use return statement?
What do you mean Abstraction in java?
Name few java.lang classes introduced with java 8 ?
What is method overloading and method overriding?
Can I declare a class as private?
what is singleton in java?
What is null data type?
What is string in java?
What is jdbc api?
Explain about join() method?
What is a buffer in java?
What is class array in java?
Explain the difference between call by refrence and call by value?
What is the function of http?