what is the Diff. between Access Specifiers and Access
Modifiers?
Answer Posted / emilie jose
Access Specifiers
They are used to set the visibility of a
class or variable or a method. Classes can be Public or
Default.Variables and methods can be
public,private,protected or default
Access Modifiers
They are used to optionally declare a
field.That is we can set access modifiers for class,method
or variables. Classes can have modifier like Abstract.
Methods can have abstract, native,synchronised etc..
| Is This Answer Correct ? | 91 Yes | 47 No |
Post New Answer View All Answers
What must a class do to implement an interface in java programming?
How are observer and observable used in java programming?
How will you compute size of a structure?
What is maximum size of arraylist in java?
What is a method signature java?
What is the purpose class.forname method?
What is a condition in programming?
Can you explain the meaning of aggregation and composition
What is stringreader?
What is a singleton class? Give a practical example of its usage.
List the different types of classloaders in java.
Why is singleton class used?
What about main() method in java ?
Can we make main() thread as daemon?
What is anagram word?