what is the Diff. between Access Specifiers and Access
Modifiers?
Answer Posted / dev
Access specifiers ::
The access specifier determines how accessible the field is
to code in other classes. Access ranges from totally
accessible to totally inaccessible. You can optionally
declare a field with an access specifier keyword: public,
private, or protected.
Access Modifiers ::
You can optionally declare a field with a modifier keyword:
final or volatile and/or static and/or transient.
Is This Answer Correct ? | 362 Yes | 94 No |
Post New Answer View All Answers
How do you write a good declaration?
Explain the importance of import keyword in java?
Can we override constructors?
Have you ever used hashtable and dictionary?
What is a class object?
What is the function of log?
why an outer class cannot be declared as private?
What are the different http methods?
Explain java code for recursive solution's base case?
What does exp mean in math?
Difference between arraylist and vector.
Explain method local inner classes ?
When should I use singleton?
What is the size of int?
Are strings immutable in java?