what is the Diff. between Access Specifiers and Access
Modifiers?
Answer Posted / filistin
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 ? | 11 Yes | 22 No |
Post New Answer View All Answers
What is the base class in java from which all classes are derived?
How to sort an array in java without using sort method?
What is difference between add() and addelement() in vector?
How do you create a null object?
What is split return?
What are the different http methods?
What is the scope or life time of instance variables?
What is the use of hashmap in java?
How an object is serialized in java?
What happens when heap memory is full?
Why is java logo a cup of coffee?
How can u increase the heap size in the memory?
What are three advantages of using functions?
Can we define static methods inside interface?
What is a line break example?