Inheritance : Composition and aggregation or Has a relationship in OOPS Java