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 meant by multicast?

1 Answers  


Explain inner classes ?

0 Answers  


Explain the scope of a variable.

0 Answers   TCS,


How the elements are organized in GridBagLayout?

1 Answers  


What is difference between variable declaration and definition?

0 Answers  






What is the properties class in java programming?

0 Answers  


What is ascii format?

0 Answers  


Can a static method be final?

0 Answers  


What is a native method in java programming?

0 Answers  


What is mnemonic code?

0 Answers  


Can we have multiple public classes in a java source file?

0 Answers  


Why can't we use static class instead of singleton?

0 Answers  


Categories