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 does three dots mean in java?
What is the use of default method in interface in java?
What is string literal in java?
What is the use of runnable interface?
Realized?
What is the purpose of void?
What is this keyword in java?
What's the base class in java from which all classes are derived?
Explain notify() method of object class ?
make a method which any number and any type of argument and print sum of that arguments.....
What is logical variable?
What are the two ways to create a thread?
How do you read a char in java?
Can you explain the meaning of aggregation and composition
List the features of java programming language.