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 |
What is the difference between jdk, jre, and jvm?
Why there is no call by reference in java?
What is Exception handling in Java How do you handle run time errors please explain with an example
Why is static used?
How do you replace all in word?
What is the difference between array and array list in java?
Is it possible to compare various strings with the help of == operator?
What is the access scope of protected access specifier?
How is a variable stored in memory?
What is the purpose of the finally clause of a try-catch-finally statement in java programming?
If system.exit (0); is written at the end of the try block, will the finally block still execute?
How to change the priority of thread or how to set priority of thread?