what is the Diff. between Access Specifiers and Access
Modifiers?
Answer Posted / murali m
Access Specifiers
They are used to set the visibility of a
class or variable or a method.
ex:public,private,protected and default.
Access Modifiers
They are used to optionally declare a
field.
ex:abstract,native,transient,final,static and volatile.
| Is This Answer Correct ? | 58 Yes | 35 No |
Post New Answer View All Answers
What is a lightweight component?
Is void a keyword in java?
Is there a way to increase the size of an array after its declaration?
What are the two types of streams offered by java 8?
Convert a BST into a DLL and DLL to BST in place.
What is java volatile?
What are extraneous variables examples?
What are the 6 functions?
What is a modifier?
What is the final blank variable?
What are constructors in java?
What makes a function well defined?
Does chrome use java?
What happens if main method is not static?
How do you convert an int to a string in java?