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?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is difference between protected and private?

1077


What is a marker interface?

1158


what is the role of xml in core java?? and how we can use it?? can somebody give a sample program with explanation and from where i can read more about xml?????

2269


How many JVMs can run on a single machine and what is the meaning of Just-In-Time (JIT) compiler?

1452


What is a class component?

1174


What are the differences between getting and load method?

1191


What is a double vs float?

1016


how to create constants in java?

1083


Can we override private constructor in java?

977


How do you empty a list in java?

975


How do you bind variables?

1107


What is continuity of a function?

1094


Explain java thread life cycle.

1034


What are voids?

964


What is use of a abstract variable?

990