what is the Diff. between Access Specifiers and Access
Modifiers?
Answer Posted / indrabahadur singh
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 ? | 0 Yes | 2 No |
Post New Answer View All Answers
Explain the term virtual machine?
What is concurrent hashmap and its features?
What do you mean by object?
Why java is call by value?
Explain about oops concepts.
What does exp mean in math?
Explain about automatic type conversion in java?
Is empty set an element of empty set?
Can a class be private or protected in java?
Does importing a package imports its sub-packages as well in java?
How does queue work in java?
Why does java have different data types for integers and floating-point values?
what is server side caching?
What are class members by default?
Does unicode support all languages?