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

How can you write a loop indefinitely in java programming?

545


Which methods are used during serialization and deserialization process?

544


How will you get the platform dependent values like line separator, path separator, etc., ?

575


What are the differences between getting and load method?

535


What is the SimpleTimeZone class?

1791






What is the difference between a method and a procedure?

539


What is array in java?

527


What are meta-annotations?

547


What are aggregate functions explain with examples?

516


What is finalize method?

571


In how many ways we can create threads in java?

625


What is the main use of java?

567


Write a method to check if input string is palindrome?

576


if u open login & logout ,how can udisplay the timelogin & logout members ?

1746


Where is const variable stored?

528