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 different types of access modifiers?

Answer Posted / nani

Private : It can access with in the class only
public :It can Access Any where in java program
proteced:It can access with in the package and sub class of
the package also
default:it access with in the java program.

Is This Answer Correct ?    0 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the drawbacks for singleton class?

943


What is the difference between the boolean & operator and the && operator in java programming?

988


Explain about sets?

945


What do you mean by jjs in java8?

943


How is it possible in java programming for two string objects with identical values not to be equal under the == operator?

973


What are scriptlets?

1028


What is final?

1003


How many bytes is a string java?

964


Differentiate between == and equals().

997


What is currentthread()?

933


What is class level lock ?

971


What is the meaning of 3 dots in java?

1102


What are reference variables in java?

1066


Why do we need strings in java?

939


What is java’s garbage collected heap?

915