Q.
Identify the diagram that best represents the relationship among the given classes.
Uncle, Relative, Rich
उस आरेख की पहचान करें जो दिए गए वर्गों के बीच संबंध को सबसे अच्छा दर्शाता है।
Uncle, Relative, Rich
Some relatives are uncle but all the uncles are relative.
Some of the relatives as well as uncle are rich.
So the diagram that shows the best relationship between them is-
कुछ ‘Relative’ ‘Uncle’ हैं लेकिन सभी ‘Uncle’ ‘Relative’ हैं।
कुछ ‘Relative’ और ‘Uncle’ भी ‘Rich’ हैं।
तो उनके बीच सबसे अच्छे संबंध को दर्शाने वाला आरेख है-