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 ? | 362 Yes | 94 No |
Post New Answer View All Answers
Why lambda expression is used in java?
What is the difference between choice and list?
What is command line used for?
How do you do descending order in java?
What is join () in java?
How to sort numbers in java without array?
What is function overriding and overloading in java?
Is 64bit faster than 32 bit?
What is the same as procedures?
Why pass by reference is not possible in java?
What is the difference between == and === javascript?
What is user defined exception in Java?
Can a class extend 2 classes in java?
What are static blocks and static initalizers in java ?
How do you declare a string variable?