Question 8
A software module defines an interface PaymentMethod. Another class UPIPayment implements this interface. What kind of relationship does UPIPayment have with PaymentMethod?
Inheritance
Composition
Dependency
Aggregation
A software module defines an interface PaymentMethod. Another class UPIPayment implements this interface. What kind of relationship does UPIPayment have with PaymentMethod?
Inheritance
Composition
Dependency
Aggregation
Correct answer
Dependency
Question 8 of 25 in the IIT Madras BS Software Engineering (Software Engineering) End Term paper sat on 21 Dec 2025, in the September 2025 term (Software Engineering 18 Dec 25). It carries 4 marks.