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 ? | 363 Yes | 94 No |
Post New Answer View All Answers
What is nullpointerexception?
What are controls and their different types in awt?
How can you traverse a linked list in java?
Does string is thread-safe in java?
How are variables stored in memory?
What is the finalize method do?
What is tree in java?
What is the advantage of preparedstatement over statement?
What are different data types?
Is it necessary for the port addresses to be unique? Explain with reason.
What is the synchronized method modifier?
if u open login & logout ,how can udisplay the timelogin & logout members ?
Is java 1.7 the same as java 7?
What is the difference between break and continue statements?
What is the difference between throw and throws keywords?