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 |
Can we declare register variable as global?
what is object deep copy and shallow copy and why it is required?
Why is the singleton pattern considered to be an anti pattern?
What happens when a main method is declared as private?
22 Answers DELL, Infosys, L&T, Sun Microsystems,
Why Do I Get A "permission Denied" Error After Downloading The .jnlp Java Launcher For The Vkvm?
I don’t want my class to be inherited by any other class. What should I do?
What is the java virtual machine?
what are the differences between java and .net?..why u choose java?
Which category the java thread do fall in?
How to remove the trailing spaces from a string?
what is singleton in java?
What for read() function?