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 do you mean by aggregation?

1228


What is the purpose of the enableevents() method in java programming?

1107


Can we have a try block without catch block?

956


What is hash in java?

916


what do you mean by marker interface in java?

938


What is the purpose of lambda expressions?

1012


How do you sort in java?

949


Can a class extend more than one class?

1073


What is the difference between yielding and sleeping?

1055


What are the important features of Java 9 release?

961


Do I need java on my computer?

935


In the below example, how many string objects are created?

992


Does java allow default arguments?

957


List some oops concepts in java?

992


how we can create packages in java?

927