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
How can we create a thread in java?
How to write custom exception in java?
What is multiple inheritance? Is it supported by java?
Tell us something about set interface.
What is nextint java?
What is the importance of main method in Java?
How to do a true java ping from windows?
Java is pass by value or pass by reference? Explain
List the features of java programming language.
What is number data type in java?
What is a final class ?
What language is java written?
A non-static inner class may have object instances that are associated with instances of the class’s outer class. A static inner class does not have any object instances.
What do you understand by an io stream?
What is dynamic array in java?