Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


what is the Diff. between Access Specifiers and Access
Modifiers?

Answers were Sorted based on User's Feedback



what is the Diff. between Access Specifiers and Access Modifiers?..

Answer / ajeesh

access specifier
One of the techniques in object-oriented programming is
encapsulation. It concerns the hiding of data in a class and
making this class available only through methods. In this
way the chance of making accidental mistakes in changing
values is minimized. Java allows you to control access to
classes, methods, and fields via so-called access specifiers.

Is This Answer Correct ?    3 Yes 7 No

what is the Diff. between Access Specifiers and Access Modifiers?..

Answer / shyam

There is not a great deff between Access Specifiers &
Modifiers. we can say that both are same. if you talking
about that access specifier are that public, protected,
default, private, And modifiers are finaly, abstract,
static, Syncronized etc. at that point of veiw u r wrong.
As there are two type of access specifiers its means that
there are two types of modifiers. they are .........
a) java access Specifiers(Modifiers).
b) Non access Specifiers (Modifiers).

Is This Answer Correct ?    0 Yes 7 No

what is the Diff. between Access Specifiers and Access Modifiers?..

Answer / filistin

Access Specifiers
They are used to set the visibility of a
class or variable or a method.
ex:public,private,protected and default.

Access Modifiers
They are used to optionally declare a
field.
ex:abstract,native,transient,final,static and volatile.

Is This Answer Correct ?    11 Yes 22 No

what is the Diff. between Access Specifiers and Access Modifiers?..

Answer / k.yamini

what is the need for access specifier in c++?

Is This Answer Correct ?    5 Yes 18 No

what is the Diff. between Access Specifiers and Access Modifiers?..

Answer / subhadip

"Public" is both a access specifier and access modifier.
What is the difference here?

Is This Answer Correct ?    23 Yes 62 No

what is the Diff. between Access Specifiers and Access Modifiers?..

Answer / tamanna

access specifier:
an access specifier allows the user to
control the access of classes,methods and fields.


access modifier:
an access modifier specifies the visibility
ofclasses,methods and fiels.

Is This Answer Correct ?    19 Yes 62 No

what is the Diff. between Access Specifiers and Access Modifiers?..

Answer / skk

There is no difference between Access Modifiers and Access
Specifiers. Its just different names for the same Stuff.

Is This Answer Correct ?    10 Yes 60 No

what is the Diff. between Access Specifiers and Access Modifiers?..

Answer / paul williams

Access Specifier is like a super class of Access Modifier
and Non-Access Modifier, which specifies the accessibility
of a field.

Access Modifier is like a sub class of Access Specifier,
there are actually 3 kinds in it namely,
1. Public
2. Protected
3. Private

Access Control in java is a little tricky as there are four
access control.
1. Public
2. Protected
3. Default
4. Private

Is This Answer Correct ?    22 Yes 166 No

what is the Diff. between Access Specifiers and Access Modifiers?..

Answer / pandian

Access specifier are public,
private, or protected.


Access modifiers are public,
private, protected or default.

Is This Answer Correct ?    52 Yes 534 No

Post New Answer

More Core Java Interview Questions

what is the difference between the methods sleep() and wait()? : Java thread

0 Answers  


What is the nested interface?

0 Answers  


1).what is the difference between below examples String s="vijay"; String s=new String("vijay");

12 Answers   Mascon, Satyam, TCS,


What exactly is java?

0 Answers  


What is Overriding and how can it be used?

7 Answers   Consagous, Wipro,


What is a void method java?

0 Answers  


Tell me about different OOPS concepts.

0 Answers   Amdocs,


give me the answer of this code class A extnds String This code we can write r not in Java? Explain?

4 Answers  


Explain the difference between collection api and stream api in java8?

0 Answers  


What is a byte array?

0 Answers  


Sample code to retrieve objects from HashMap in sorted ascending order?

2 Answers  


How will you reverse a singly-link list?

0 Answers   Akamai Technologies,


Categories