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

Accenture NJ mostly ask question on Collection like 1)How to sort Objcts and how treeset sort them 2)Explain mechanism of Hashcode finding in Java 3)Name some of the Sorted collection.

2 Answers   Accenture,


Differentiate between vector and array list.

0 Answers  


Implement a stack with push (), pop() and min() in O(1) time.

0 Answers   Amazon,


Explain about the security aspect of java?

0 Answers  


how to call a method in different package?

4 Answers  


Highest level event class of the event-delegation model?

0 Answers  


Explain about abstract classes in java?

0 Answers  


What is a flag value?

0 Answers  


Explain the difference between call by refrence and call by value?

0 Answers  


Whats the difference between notify() and notifyall()?

0 Answers  


How does hashset work in java?

0 Answers  


What does serializing data mean?

0 Answers  


Categories