what is the Diff. between Access Specifiers and Access
Modifiers?
Answer Posted / vikram singh rawat
Access Specifier are like:
1) public
2) private
3) protected
4) Default
Access Specifier or modifiers in java control the access
and visibility of classes and class members.
Access Modifiers are like:
1) Volatile
2) Native
3) Transient
Field and method modifiers are keywords used to identify
fields and methods that need to be declared for controlling
access to users. Some of these can be used along with
public and protected keywords.
| Is This Answer Correct ? | 3 Yes | 2 No |
Post New Answer View All Answers
Is java owned by oracle?
How can I right-justify a string?
What is functional interface in java example?
What is thread synchronization in java?
What are the principle concepts of oops?
Can we create a constructor in abstract class?
How many inner classes can a class have?
What is the unit of plancks constant?
EDS (Electronic Data Systems India Pvt Ltd) at Chennai on 16-12-2006.
What is string variable?
Does java vector allow null?
What do bitwise operators do?
What is the purpose of assert keyword used in jdk1.4.x?
What is a java developer salary?
What is a lock or purpose of locks in java?