Multiple choice technology programming languages

Select the true statement from the below choices

  1. Interface can extend one or more interfaces

  2. Interface can extend one or more class

  3. Interface cannot implement a class or interface

  4. All of the above

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

In Java and similar OO languages, an interface can extend one or more interfaces (multiple inheritance is allowed for interfaces), but cannot extend classes. Classes implement interfaces. Option C is incomplete, and 'All of the above' is incorrect because interfaces don't extend classes.