Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...


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

Can we use different return types for methods when overridden?

0 Answers  


What checkbox method allows you to tell if a checkbox is checked?

0 Answers  


Is main an identifier?

0 Answers  


What is volatile keyword in java

0 Answers  


Explain about wait() method?

0 Answers  






How many arguments can be passed to main ()?

0 Answers  


Is null == null in java?

0 Answers  


How hashset works internally in java?

0 Answers  


How does marker interface provides functionality to the implemented class ? or How dose maker interface gets the functionalities as serialization or cloning.

4 Answers   Cap Gemini,


Can we cast any other type to boolean type with type casting?

0 Answers  


What is used of static keyword in java?

0 Answers   Cyient,


What is lexicographically smallest string?

0 Answers  






Categories