what is the Diff. between Access Specifiers and Access
Modifiers?

Answer Posted / filistin

Access Specifiers
They are used to set the visibility of a
class or variable or a method.
ex:public,private,protected and default.

Access Modifiers
They are used to optionally declare a
field.
ex:abstract,native,transient,final,static and volatile.

Is This Answer Correct ?    11 Yes 22 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is meant by Garbage collection?

616


What is method in java ?

621


What is indexof?

542


what is comparable and comparator interface?

572


Does java support multiple inheritances?

556






Explain the polymorphism principle?

577


How big is a 32 bit integer?

526


What are keywords give examples?

576


What do you understand by abstract classes?

596


How big is a boolean?

574


Explain the Propertie sof class?

586


What is the use of conditional statement?

562


What is meant by interface?

559


Can we use synchronized block for primitives?

602


Explain about varargs in java?

579