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 / umanath

Namely 4, but functionally 5
public--------------access to all

protected-----------limited to any class in same package and
sub class of any package

friendly(default)---limited to same package only

private protected---limited to sub classes of any package only

private-------------limited to same class only

Is This Answer Correct ?    7 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is diamond operator in java?

896


What is java volatile?

960


What does n mean?

937


what is the difference between future and callable interface in java?

1146


Does java support multiple inheritance or not?

1022


Can java object be locked down for exclusive use by a given thread?

948


What is parsing a string?

1087


What is the properties class?

1031


What are Normalization Rules? Define Normalization?

979


Explain an intermediate language?

894


What exactly is a .class file?

984


What is keyword in oop?

914


What is the collections api?

989


Is java 11 paid version?

918


When do we use synchronized methods in java?

990