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

What’s the difference between the methods sleep() and wait()?

0 Answers  


How to check if linked list contains loop in java?

0 Answers  


explain about casting of objects?

5 Answers  


What is unicode datatype?

0 Answers  


What is the size of int in 64-bit jvm?

0 Answers  






is it possible to instantiate the math class?

0 Answers  


What is an empty list in java?

0 Answers  


Difference between String & StringBuffer

16 Answers   IBM, Infosys, Tech Mahindra, Wipro,


What are the advantages of passing this into a method instead of the current class object itself?

0 Answers  


Is hashmap thread safe?

0 Answers  


What does compareto () do in java?

0 Answers  


What is the final class modifier?

0 Answers  


Categories