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 / dev

Access specifiers ::

The access specifier determines how accessible the field is
to code in other classes. Access ranges from totally
accessible to totally inaccessible. You can optionally
declare a field with an access specifier keyword: public,
private, or protected.


Access Modifiers ::

You can optionally declare a field with a modifier keyword:
final or volatile and/or static and/or transient.

Is This Answer Correct ?    363 Yes 94 No

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

Answer / pandian.r

Access Specifier are used to specifiy how the member
variable ,methods or class to other classes.They are
public ,private and protected.


Access Modifier:
1.Access
2.Non Access

Access:
public ,private,protected and default.
Non Access:

abstract,final,native,static,synchronized,transient,volatile
and strictfp

Is This Answer Correct ?    161 Yes 68 No

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

Answer / emilie jose

Access Specifiers
They are used to set the visibility of a
class or variable or a method. Classes can be Public or
Default.Variables and methods can be
public,private,protected or default

Access Modifiers
They are used to optionally declare a
field.That is we can set access modifiers for class,method
or variables. Classes can have modifier like Abstract.
Methods can have abstract, native,synchronised etc..

Is This Answer Correct ?    91 Yes 47 No

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

Answer / swetha

Access Specifiers :

public,private,protected and default.


Access Modifiers :

abstract,native,transient,final,static,volatile and
strictfp.

Is This Answer Correct ?    85 Yes 46 No

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

Answer / gautham

Access Specifiers &#61664; A.S gives access privileges to outside
of application (or) others; they are Public, Protected,
Private, Defaults
Access Modifiers &#61664; A.M which gives additional meaning to
data, methods and classes, final cannot be modified at any
point of time

Is This Answer Correct ?    52 Yes 25 No

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

Answer / murali m

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 ?    58 Yes 35 No

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

Answer / sreenivasarao

access specifier : it will define scope
access modifier : it will define behaviour

Is This Answer Correct ?    28 Yes 14 No

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

Answer / ejp

Answer #13 is still the only correct answer here. The term
'access specifier' does not appear in the Java Language
Specification. And why would something called an 'access
specifier' be concerned with native/abstract/final anyway?

This is all just nonsense.

Is This Answer Correct ?    14 Yes 6 No

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

Answer / ejp

There is no such thing as an 'access specifier' in Java so
there is nothing for 'access modifier' to be different from.
There are 'type specifiers' and 'access modifiers'. See the
Java Language Specification.

Is This Answer Correct ?    23 Yes 17 No

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

Answer / ankit rawat

Access Specifier-
Public
Private
protected
default

Access Modifier-
static
constant
abstract
final

Is This Answer Correct ?    8 Yes 3 No

Post New Answer

More Core Java Interview Questions

I am a fresher and know core java, c languge, html, css etc if I am illegible for any job then send it on my email tatranakshay276@gmail.com

0 Answers  


Is ruby built on java?

0 Answers  


What is mysql driver class name?

0 Answers  


What is a parent class in java?

0 Answers  


What is a null class?

0 Answers  


what is type of statement in jdbc connection?

3 Answers  


Catch(Exception e){ } in that what is Exception and purpose of that in that place exactly?

3 Answers  


What is the synonym of string?

0 Answers  


how copy the hashmap object into arraylist at java program?

4 Answers   HCL, Wipro,


Explain try and catch keywords in java?

0 Answers  


In the HashMap, we know the values but we dont know the key, then how can we get the key from HashMap ?????

4 Answers   Kanbay,


What is volatile data type?

0 Answers  


Categories