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 ways can you break a singleton class in java?
What is java ceil?
Can singleton class be cloned?
What are the important methods of java exception class?
What is a method header?
Can you pass functions in java?
Are arrays dynamic in java?
In how many ways we can do exception handling in java?
What's the difference between an abstract class and interface in java?
What are triggers in DB? Explain their types. How do they work?
what are the disadvantages of indexes in oracle?
How many types of exception can occur in a java program?
What is quick sort in java?
What is the file extension for java?
How many ways can we create the string object?