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
What is constructor and virtual function? Can we call a virtual function in a constructor?
What is a memory leak in java?
What is array class in java?
A person says that he compiled a java class successfully without even having a main method in it? Is it possible?
What are the two ways of implementing multi-threading in java?
How does arraylist work in java?
What is array and arraylist in java?
What do you understand by the term polymorphism?
What is externalizable?
What are the differences between path and classpath variables?
How can we make string upper case or lower case?
Explain tree set and its features?
Say any two properties in beans?
How many bytes is a url?
Can we sort set in java?