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 meant by Garbage collection?
What is method in java ?
What is indexof?
what is comparable and comparator interface?
Does java support multiple inheritances?
Explain the polymorphism principle?
How big is a 32 bit integer?
What are keywords give examples?
What do you understand by abstract classes?
How big is a boolean?
Explain the Propertie sof class?
What is the use of conditional statement?
What is meant by interface?
Can we use synchronized block for primitives?
Explain about varargs in java?