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

Answer Posted / pandian.r

Access Specifier are used to specifiy how the member
variable ,methods or class to other classes.They are
public ,private and protected.


Access Modifier:
1.Access
2.Non Access

Access:
public ,private,protected and default.
Non Access:

abstract,final,native,static,synchronized,transient,volatile
and strictfp

Is This Answer Correct ?    161 Yes 68 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can a boolean be null java?

545


Is an array a vector?

553


What is unmodifiable collection in java?

511


What is difference between this and super keyword?

517


Can we declare a constructor as final?

676






What is the primitive type short?

577


Can an interface extend another interface?

596


Explain about wait() method?

568


Difference between process and thread?

600


What is immutable data?

579


What is append function?

570


what are the high-level thread states? : Java thread

560


How can we create an immutable class in java?

581


What is the largest data type in java?

510


Can an object be null?

549