What is the difference between Access Modifier and Access
specifier?



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

Post New Answer

More Core Java Interview Questions

explain the classification of exception and hoew to handle the exceptions

2 Answers  


What is the role of garbage collector in java?

0 Answers  


Given a singly linked list, how will you print out its contents in the reverse order? Can you do it with consuming any extra space?

0 Answers   Akamai Technologies,


Which class contains a method: cloneable or object?

0 Answers  


What is byte code and why is it important to java’s use for internet programming?

0 Answers  






what is the swingutilities.invokelater(runnable) method for? : Java thread

0 Answers  


How to sort the elements in HashMap

3 Answers   Ness Technologies,


Outline the major features of java.

0 Answers  


What is a byte array?

0 Answers  


what are three ways in which a thread can enter the waiting state? Or what are different ways in which a thread can enter the waiting state? : Java thread

0 Answers  


why there are multiple catches for a try block.don't tell me that there can be multiple exception of a code segment that's why.tell me the real fact behind this.

4 Answers  


What is the purpose of the strictfp keyword?

0 Answers  


Categories