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 meant by interface?
Is it necessary for the port addresses to be unique? Explain with reason.
Can we convert stringbuffer to string?
Is java util regex pattern thread safe?
Explain about data types?
Can a singleton class be inherited?
What is the escape character in java?
Can an abstract class be a final class?
What is function overriding and overloading in java?
List implementations of list interface?
What is visibility mode?
What type of variable is gender?
Differentiate between class and structure.
Define packages in java?
In how many ways we can do exception handling in java?