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 is the difference between an inner class and a sub-class?

0 Answers  


what is use of threads how many ways to create thread

3 Answers   iTrust, Verizon,


Can we have a try block without catch block?

0 Answers  


What does you mean in math?

0 Answers  


explain autoboxing in java?

0 Answers  


What are virtual methods?

1 Answers   TCS,


How thread scheduler schedule the task?

0 Answers  


What are design patterns and please explain?

0 Answers  


How do you remove spaces in java?

0 Answers  


how are methods defined?

0 Answers  


what is meant by Garbage collection?

0 Answers   Cap Gemini,


when there is a need of jvm then how we can say that java is a platform independent language?

3 Answers  


Categories