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
Where are the card layouts used?
What is a java predicate?
What is the size of string?
Can we extend a class with private constructor?
What does n mean in java?
Does sprintf add a null terminator?
Can java list be null?
What is the integer of 16?
What is a pointer and does java support pointers?
Does .length start 0 java?
What is difference overloading and overriding?
What is fundamental datatype?
What the difference is between execute, execute Query, execute Update?
Which is better stringbuffer or stringbuilder?
Which class cannot be a subclass in java?