What are Access Specifiers and Access Modifiers.

Answers were Sorted based on User's Feedback



What are Access Specifiers and Access Modifiers...

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

What are Access Specifiers and Access Modifiers...

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

What are Access Specifiers and Access Modifiers...

Answer / nisreen

Access specifiers are public,private,protected and default
static.

Is This Answer Correct ?    34 Yes 14 No

What are Access Specifiers and Access Modifiers...

Answer / praveen pandey

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

What are Access Specifiers and Access Modifiers...

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

What are Access Specifiers and Access Modifiers...

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

Post New Answer

More Core Java Interview Questions

Can any one say how will sort map objects in java?

2 Answers   TCS,


Can an object be garbage collected while it is still reachable?

3 Answers  


What are the limitations of procedural programming approach?

0 Answers   Amdocs,


What happens to the Exception object after handling an exception?

0 Answers  


Is it possible to write method inside method

4 Answers   L&T,






What is the benefit of using enum to declare a constant?

0 Answers   Aspire, Infogain,


Does the order of public and static declaration matter in main method?

0 Answers  


What are "class access modifiers" in Java?

0 Answers   Genpact,


using equals method overriding which objects are compared?i.e same class objects or other class objects?Explain me.

4 Answers  


What class of exceptions are generated by the java run-time system?

0 Answers  


what is difference betwenn Access Specifier and Access Modifier ????

2 Answers  


What are access modifiers in Java ?

6 Answers  


Categories