what is the Diff. between Access Specifiers and Access
Modifiers?
Answer Posted / vikram singh rawat
Access Specifier are like:
1) public
2) private
3) protected
4) Default
Access Specifier or modifiers in java control the access
and visibility of classes and class members.
Access Modifiers are like:
1) Volatile
2) Native
3) Transient
Field and method modifiers are keywords used to identify
fields and methods that need to be declared for controlling
access to users. Some of these can be used along with
public and protected keywords.
| Is This Answer Correct ? | 3 Yes | 2 No |
Post New Answer View All Answers
Explain about interrupt() method of thread class ?
How many decimal digits is 64 bit?
Difference between comparator and comparable in java?
Tell us something about set interface.
What is purpose of applet programming?
Explain the difference between the public, private, final, protected, and default modifiers?
What is role of void keyword in declaring functions?
How do you remove an element from an arraylist in java?
How do you sort in java?
How to sort numbers in java without array?
Is java a software?
What is difference between module and function?
Java.util.regex consists of which classes?
What is a instance variable in java?
What is the char data type?