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 are access modifiers in Java ?

Answer Posted / surendrareddy

The access specifiers in java are
1.public
2.private
3.protected these are control access specifiers in java

The another one is "Default" it will available when we will
not mention above 3 access specifiers before the class variable

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the four versions of java?

962


Why declare Main() inside the class in java ?

990


What is thread safe in java?

933


What is the advantage of OOP in java?

1084


What are methods?

962


What does the exclamation mark mean in java?

1165


What is the default size of arraylist in java?

1009


What value is a variable of the string type automatically initialized?

1049


what is server side caching?

2092


What are strings in physics?

957


How to perform linear search in java?

897


Explain hashset and its features?

1078


What is the java idl system?

983


What is the symbol for line break?

1031


Can we nested try statements in java?

1042