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?



What is protected and friendly?..

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

More Core Java Interview Questions

How do you relate a Interface to a Class? Tell me in Detail?

4 Answers  


What is map in java?

0 Answers  


Explain the differences between static and dynamic variables?

0 Answers   Fidelity,


What variables are stored in stack?

0 Answers  


Why is java multithreaded?

0 Answers  


What is internal variable?

0 Answers  


How do you find the maximum number from an array without comparing and sorting?

0 Answers   BlackRock,


Wha is the output from system.out.println(“hello”+null); ?

0 Answers  


What is hasnext in java?

0 Answers  


What is a lambda expression ? What's its use ?

0 Answers  


How we can generate random numbers in java?

0 Answers  


What is a copy constructor in java?

0 Answers   Amazon,


Categories