Identify the diagram that best represents the relationship among the given classes.
Cricketer, Male, Actor
A male can be a cricketer or an actor, but an actor cannot be a cricketer.
here cricketer and actor defines field in which they workÂ
for example sachin tendulkar acted in many ads but by profession he is a cricketer hence one can only be cricketer or an actor at one working profession
Thus, the venn diagram that best describes above relationship is :
=> Ans - (C)
Create a FREE account and get: