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
how to deploy tomcatserver to weblogic server? write d following steps?
Explain about java sdk?
What are the types of casting?
What is the final access modifier in java?
Explain about narrowing conversion in java?
What is the difference between dom and sax parser in java?
What is the maximum size of list in java?
Which way a developer should use for creating thread, i.e. Sub classing thread or implementing runnable.
What is difference between iterator and enumeration in java?
Can we have any other return type than void for main method?
What is a numeric digit?
How to perform quicksort in java?
How do you know if a value is nan?
Can you instantiate the math class?
What type of variable is gender?