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 / vikram singh rawat

Access Specifier are like:
1) public
2) private
3) protected
4) Default

Access Specifier or modifiers in java control the access
and visibility of classes and class members.

Access Modifiers are like:
1) Volatile
2) Native
3) Transient

Field and method modifiers are keywords used to identify
fields and methods that need to be declared for controlling
access to users. Some of these can be used along with
public and protected keywords.

Is This Answer Correct ?    3 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Does .length start 0 java?

998


How many bytes are a float?

982


Can we change the scope of the overridden method in the subclass?

1387


Can we override protected method in java?

1054


Why do we need wrapper classes?

1066


What is type inference in java8?

1038


What is the difference between char and char *?

1071


What is a string token?

1036


How do you override a variable in java?

1133


What are locale settings?

981


What is the difference between inner class and nested class?

1082


What is generic type?

1020


What is the difference between abstraction and encapsulation?

1041


What is operator overloading. Is it is supported in java?

1024


Explain the difference between private, public, package and protected in java?

1037