‹ Back to the paper
Question 1(vii)
1 mark
Computer ScienceISC 2024 Computer Science Paper 1Short answerInheritance, Interfaces and Polymorphism
Answer the following.
State any one use of interfaces in Java.
Answer
Answer
Interfaces are used in Java to achieve multiple inheritance: a class can implement more than one interface, inheriting abstract behaviour from multiple sources without the ambiguity that arises from extending multiple classes.