What are Access Specifiers and Access Modifiers.
Answers were Sorted based on User's Feedback
Answer / ravikiran(aptech mumbai)
access specifies will specify the scope of the member access.
public
protected
private
default
access modifier will support the functionality of a method
abstract
final
native
synchronized
static
| Is This Answer Correct ? | 47 Yes | 7 No |
Answer / j.maharajan
Access Specifiers are public,private,protected and default.
Access Modifiers are
static,final,volatile,synchronized,transient,native.abstract.
| Is This Answer Correct ? | 45 Yes | 10 No |
Answer / nisreen
Access specifiers are public,private,protected and default
static.
| Is This Answer Correct ? | 34 Yes | 14 No |
Access specifiers are used to grant permissio to access
datamembers,property of classes and methods from others.
Public,private,protected,protected Internal,default.
But modifiers are useing support the functionality of a
method.
static,final,synchronized,abstract.
| Is This Answer Correct ? | 8 Yes | 4 No |
Answer / emmanuel opoku
Access specifier determines whether unrelated and derived
classes can access the inherited public and protected
members of the base.
| Is This Answer Correct ? | 2 Yes | 1 No |
Answer / taji
The access-specifier determines the access to the names that follow it, up to the next access-specifier or the end of the class declaration
i.e public, protected and private.
| Is This Answer Correct ? | 6 Yes | 6 No |
What does provide mean construction?
What are the different access modifiers available in java?
What is java util concurrentmodificationexception?
What is r * in math?
What is general methodology?
What is the code inside the public void actionPerformed(ActionEvent ae) override method in Applet [ Condition:- you have one TextField and One Button , you have to enter any color name inside the TextField, when you click on Button Your background will change according to your input color name]
What is foreach loop in java?
What happens when a class is made static like if a field or member is made static it becomes class variable and is shared by all the object of the class?
What are the advantages of inner classes?
What is t in generics in java?
What is finalize()?
What is the use of :: in java?