A Admin • 802.91K Points Coach Report Q. Which of the following is an example of composition in OOP? (A) class A(B): (B) class A: def __init__(self, b): self.b = b (C) class A extends B: (D) class A inherits B: Correct Answer - Option(B) Views: 6 Filed under category Python Hashtags: Share Manage Tags
Discusssion
Login to discuss.