In Java 7, which statement is true about an Interface in Java?

PYQ RPSC Programmer 2024Modified — slightly modified from the official paper; see the solution

In Java 7, which statement is true about an Interface in Java?

  1. A.

    An interface cannot extend another interface.

  2. B.

    An interface can contain implemented methods.

  3. C.

    An interface can contain instance variables.

  4. D.

    A class can implement multiple interfaces.

  5. E.

    Question not attempted

Attempted by 227 students.

Sign up free to check your answer

Sign up free

Explore the full course: Rpsc Programmer

Loading lesson…