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

Can we sort a map in java?

1032


Explain list interface?

958


How to display all the prime numbers between 1 and 100

1008


What is the access scope of protected access specifier?

989


Explain the difference between jvm and jre?

1034


Explain the protected field modifier?

1077


What is a numeric digit?

1078


What are loops in java?

1255


Explain about varargs in java?

1124


What are the advantages of java over C++?

1195


Can we make the abstract methods static in java?

1054


How do you create a method in java?

993


What is navigable map in java?

979


What are the advantages of encapsulation in java?

1006


How do you take thread dump in java?

992