Prashnikaप्रश्निका
Code
About
‹ Back to the paper

Question 1(vi)

1 mark

Computer ScienceISC 2026 Computer Science Paper 1Assertion-reasonInheritance, Interfaces and Polymorphism

Study the Assertion and Reason and choose the correct option.

An interface in Java contains abstract and non-abstract methods.

Assertion: An interface in Java contains abstract and non-abstract methods.

Reason: All methods in an interface must be implemented by any class that extends this interface.

  • (a)Both Assertion and Reason are true and Reason is the correct explanation for Assertion.
  • (b)Both Assertion and Reason are true but Reason is not the correct explanation for Assertion.
  • (c)Assertion is true and Reason is false.
  • (d)Both Assertion and Reason are false.

Answer

Answer

Correct option: (d)

Answer: (d) Both Assertion and Reason are false. In standard ISC Java curriculum, an interface contains only abstract method declarations (non-abstract methods belong to abstract classes). Furthermore, a class implements an interface (using the 'implements' keyword), it does not extend it. Hence, both Assertion and Reason are false.