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 vector?
Can we convert list to set in java?
What is java autoboxing?
Is 0 a prime number?
Is string pool garbage collected?
how to deploy apache tomcat server to weblogic server in java
Write a program to calculate factorial in java?
Why java is secure? Explain.
How do you escape in java?
What are different types of expressions?
What is static synchronization?
What are thread safe functions?
Can we write any code after throw statement?
If an object reference is set to null, will the garbage collector immediately free the memory held by that object?
What is java util?