‹ Back to the paper
Question 1(vi)
1 mark
Computer ScienceISC 2025 Improvement Computer Science Paper 1Assertion-reasonInheritance, Interfaces and Polymorphism
Study the Assertion and Reason and choose the correct option.
An abstract class can contain abstract as well as non-abstract methods. Given below are two…
Assertion: An abstract class can contain abstract as well as non-abstract methods.
Reason: Abstract classes are meant to provide complete implementation of all types of methods in its sub class.
Given below are two statements marked Assertion and Reason. Read the two statements carefully and choose the correct option.
- (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: (c)
Answer: (c) Assertion is true and Reason is false.
An abstract class can indeed contain both abstract and non-abstract (concrete) methods - Assertion is true. However an abstract class is NOT meant to provide complete implementation of all methods for its subclass; rather it deliberately leaves the abstract methods unimplemented for the subclass to define - Reason is false.