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 are thread groups?
What is string variable?
Explain how can you debug the Java code?
Is java programming easy?
What is meant by polymorphism?
Can we catch more than one exception in single catch block?
What is the use of beaninfo?
What is the purpose of extern variable?
What are the differences between this and super keyword?
What is a functional interface?
What are the types of relation?
What is the difference between length and size in java?
Can we create an object of static class in java?
What are the two ways in which thread can be created?
What is floor in java?