OOPs Concepts – Consider the given code snippet where two classes “D1” and “D2” are derived from a common class “Base”…


Consider the given code snippet where two classes “D1” and “D2” are derived from a common class “Base.”

class Base{
}
class D1 extends Base{
}
class D2 extends Base{
}

Which of these options representing the association that is achieved through this design is true?

 

Check wecreateproblems.com →

Related Posts

Close Bitnami banner
Bitnami