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

How do I convert a string to an int in java?

1011


Why is the main method static?

1095


How to print nodes of a Binary tree?

2198


What is generic type?

976


Does java allow default arguments?

945


Can we override tostring method in java?

924


How can you add and remove nodes in jtree?

972


What is an accessor?

1602


what is synchronization and why is it important? : Java thread

1020


Which variables are stored in stack?

854


Does java runtime require a license?

980


Write a function to print Fibonacci series and Tribonacci series?

1126


What is autoboxing and unboxing?

947


Is arraylist a class in java?

995


What are the two ways of implementing multi-threading in java?

1419