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

What does isempty () do in java?

803


What is private protected in java?

785


What is udp in java?

745


Why wait and notify methods are declared in object class?

794


What is the purpose of assert keyword used in jdk1.4.x?

759


Which number is denoted by leading zero in java?

1016


Convert a BST into a DLL and DLL to BST in place.

870


What is constructor chaining and how is it achieved in java?

782


Does collectionutils isempty check for null?

1112


Write a code to create a trigger to call a stored procedure

738


What are the different types of collections in java?

729


What are runtime exceptions?

892


Why stringbuffer is faster than string?

778


what is nested class in java?

804


what is deadlock? : Java thread

734