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

Can we define package statement after import statement in java?

1105


What are encapsulation, inheritance and polymorphism?

1059


What are parsers? Dom vs sax parser.

1109


What is parameters example?

1093


explain autoboxing in java?

1050


How do you create an array in java?

1036


What is the use of callablestatement?

1057


Explain 5 io best practices?

1085


How many bytes is a string in java?

1040


Is space a character in java?

1066


What is jagged array in java?

1157


Can there be an abstract method without an abstract class?

1015


What is string [] java?

1008


What is the structure of java?

1078


List some features of the abstract class.

1120