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
What are disadvantages of java?
What are the four pillars of java?
Is arraylist zero based?
What are multiple inheritances?
What is command line argument
What is toarray method in java?
Can a class be declared as protected?
Why java is considered as platform independent?
What are the kinds of polymorphism?
is there a separate stack for each thread in java? : Java thread
What is heterogeneous in java?
If you do not want your class to be inherited by any other class. What would you do?
What is an object class?
Define how destructors are defined in java?
Which is bigger float or double java?