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

we have 4 access modifiers in java.
public
private
protected
default

Is This Answer Correct ?    14 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

In case of inheritance what is the execution order of constructor and destructor?

1183


What does += mean coding?

995


What are the differences between stringbuffer and stringbuilder?

1115


why Java does not support multiple inheritances?

1203


What is a default method?

1111


Can we call virtual funciton in a constructor ?

2236


What is the difference between Java Program Constructor and Java Program Method, What is the purpose of Java Program constructor Please Explain it Breafily?

1094


What is a copy constructor in java?

1198


What is a line break?

1075


What is static keyword?

1244


Can I overload to string method

1502


What are the restriction imposed on a static method or a static block of code?

1097


What is the super void?

954


Is 0 a real number?

1102


what is instanceof operator used in java?

1080