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
Is c better than java?
Is linked list a linear or non-linear data structure?
What languages are pass by reference?
Can we declare the static variables and methods in an abstract class?
How long will it take to learn java?
How does remove work in java?
Is int primitive data type?
When throws keyword is used?
What is a dynamic array in java?
What is a function in java?
Explain the significance of listiterator.
Where we write javascript code in html page?
What happens if constructor is private?
Explain a few methods of overloading best practices in java?
What if static is removed from main method?