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

What is meant by anonymous class?

1088


What is linkedlist in java?

1051


What is the largest number a double can hold?

1090


Why map is used in java?

1084


What is protected in java?

1044


What is meant by object?

1055


What is difference between float and double?

1011


Explain the importance of join() method in thread class?

1133


Differentiate between postfix and prefix operators in java.

1179


What is a native method in java programming?

1109


Why is singleton class used?

1082


What are the different ways to handle exceptions?

1046


What is the difference between variable declaration and variable initialization?

1088


List down the methods and interfaces of collection class in java.

1032


How to reverse a string in java?

1134