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 does exp mean in math?
How do I write a self declaration?
What is reverse function?
What is a platform?
Implement 2 stacks with just 1 array. The stack routines must not indicate overflow unless every slot in array is used.
What is busy spin, and why should you use it?
What is the function of static in java?
Explain the use of javap tool.
How many characters is 2 bytes?
What is garbage collection? What is the process that is responsible for doing that in java?
What is use of static method?
State the difference between creating string as new () and literal.
What is the use of default method in interface in java?
What are the parts of a method?
What is balanced tree in java?