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 is protected and friendly?

Answer Posted / priyavarzhni

Protected: the method of a class os accessed only when the
other class inherits it.
Friendly: no need for inheritance. we can access the methods

Is This Answer Correct ?    3 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do you mean by an object in java?

1077


What is class array in java?

974


How do you do exponents in java?

979


Differentiate between a class and an object.

989


What does g mean in regex?

935


What is a boolean expression in java?

978


Why vector class is used?

930


What is the difference between conversation & casting?

999


What is anti pattern in programming?

909


what is function overloading in java?

1212


What is the difference between the jdk 1.02 event model and the event-delegation model introduced with jdk 1.1?

1070


What is a boolean used for?

1058


Can we compare two strings in java?

957


Can we use a default constructor of a class even if an explicit constructor is defined?

1048


why an outer class cannot be declared as private?

4223