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 are white spaces in java?
What are design patterns and please explain?
What is the difference between static and non-static variables in java programming?
What is the purpose of main function in java?
Describe how to implement singleton design pattern in struts.
What is use of arraylist in java?
Explain about the select method with an example?
Does java vector allow null?
Can array grow dynamically in java?
What is string data?
What is the use of flag?
What is java objectoutputstream?
What is slash r?
What is the use of conditional statement?
What is hash code collision?