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 is a finally block? Is there a case when finally will not execute?
What is double word?
What is JDBC Driver interface?How can you retrieve data from the ResultSet
Can you inherit a constructor java?
What do you mean by compiler?
What are keywords give examples?
Explain implementation and how is it different from conversion?
What is use of map in java?
How does sublist works in java?
Which java version is latest?
Can we declare register variable as global?
Explain about transient variables in java?
Explain naming conventions for packages?
What is unmodifiable list in java?
What does you mean in math?