Choose the correct statement with respect to interfaces – (i) Java does not…

2022

Choose the correct statement with respect to interfaces – (i) Java does not support “multiple inheritance”; however, it can be achieved by using interfaces. (ii) Unless the class that implements the interface is abstract, all the methods of the interface need to be defined in the class. (iii) To implement multiple interfaces, separate them with a comma (,).

  1. A.

    Only (i)

  2. B.

    (i) and (ii)

  3. C.

    (ii) and (iii)

  4. D.

    (i), (ii) and (iii)

Attempted by 93 students.

Show answer & explanation

Correct answer: D

All statements are true: interfaces allow multiple inheritance, require implementation in concrete classes, and use comma-separated syntax for multiple implementation.

Explore the full course: Uppsc Polytechnic Lecturer 2025 Cs