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 struts in java?
How can you generate random numbers in java?
Is java ee a framework?
What is string made of?
Can you extend singleton class?
What is a parameter in a function?
What is the purpose of interface?
What are the different data types in java?
What is string subsequence method?
what is aggregation in java?
what is the purpose of "virtual"?
What do you mean by mnemonics?
Describe what happens when an object is created in java ?
How does a cookie work in Servlets?
What is meant by structural programming?