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
How many techniques can be employed to create a string object?
Is int a class in java?
Is java still relevant?
What is a for loop in java?
What is the difference between checked exception and unchecked exception?
What do you mean by checked exceptions?
What is the difference between sop and work instruction?
Explain the pointers in Java?
What are the Static and Dynamic Variables? Differentiate them.
Is call by reference possible in java?
What is the common usage of serialization?
What are the different types of sorting in java?
Explain java coding standards for methods?
In how many ways we can do synchronization in java?
What is the purpose of stub and skeleton?