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


Please Help Members By Posting Answers For Below Questions

What is difference between this and super keyword?

517


Can we create more than one object singleton class?

583


What is the purpose of skeleton and stub?

588


Explain about sets?

570


What is the default value of byte datatype in java?

487






List some features of the abstract class.

590


Can you sort a string in java?

493


What is flush () in java?

556


How do you sort in java?

595


Is java a digit method?

517


Explain all java features with real time examples

1206


What is final method?

582


What is function declaration?

531


What is the destroy method?

592


extending thread class or implementing runnable interface. Which is better? : Java thread

563