Search Interview Questions
| 3372 questions in repository.|
There are more than 900 unanswered questions.
Click here and help us by providing the answer.
Have a video suggestion.
Click Correct / Improve and please let us know.
|Java - Interview Questions and Answers|
| This question was recently asked at 'MST Solutions'.This question is still unanswered. Can you please provide an answer.|
Sample Code for composition
|Help us improve. Please let us know the company, where you were asked this question :|
|Like Discuss Correct / Improve  composition  object oriented programming (oops)  oops concepts  oops concepts Asked in 1 Companies basic   frequent|
|What are the difference between composition and inheritance in Java?|
|Difference between Composition and Inheritance ?|
| Which of the following Java feature promotes access protection or Hiding ?|
|Which of the following is tightly bound ? Inheritance or Composition ?|
|Does use of Final class enforces composition over Inheritance in Java ?|
|Can we compose the Parent Class object like this ?|
|Which of the following Java features facilitates Dependency Injection - Inheritance or Composition ?|
|How are the concept of Association related to Composition and Inheritance ?|
|Is dependency injection possible if we don't have inheritance / Composition ?|