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...

how many access specifiers are available in java

Answer Posted / anjani kumar jha

There are four access specifiers are available in java

Public-----------access to all

Private---------limited to class only

Protected---------limited to sub package of class

Default------------limited to same package

Is This Answer Correct ?    52 Yes 10 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How many arguments can a method have java?

1009


What do you mean by access modifier?

1013


Can you access non static variable in static context?

1027


Why hashmap is used in java?

1072


Does set allows null in java?

945


What is a void in java?

1142


What is the difference between a window and a frame in java programming?

1127


What is the difference between stringbuffer and stringbuilder class?

1088


How variables are stored in memory?

992


What is the use of java?

942


How do you implement singleton class?

971


What are the fileinputstream and fileoutputstream?

1040


What is a double vs float?

987


What is difference between array and arraylist in java?

979


What is the base class for error and exception?

986