Difference Between Inheritance And Composition In Java And Object

Difference Between Inheritance And Composition In Java And Object