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 is thread pool? How can we create thread pool in java?

1067


Explain an algorithm to find depth of a binary tree.

1040


Is it correct to say that due to garbage collection feature in java, a java program never goes out of memory?

1019


Can we use string in switch case in java?

1056


Can we write a class without main method in java?

955


Can a class extend more than one class?

1120


Explain about main thread in java?

1075


What is a function in java?

1028


what do you mean by java annotations?

1125


How big is a boolean?

1031


What is difference between float and double?

958


What is the constructor?

1053


What is the Scope of Static Variable?

1229


Can we declare the static variables and methods in an abstract class?

990


What is java developer skills?

980