Skip to content

Object-Oriented Programming (OOP)

Which term refers to a class that cannot be instantiated on its own and may contain abstract methods to be implemented by subclasses?

Difficulty: Hard

About this MCQ

This Hard Object-Oriented Programming (OOP) MCQ checks one syllabus fact.

The question is: “Which term refers to a class that cannot be instantiated on its own and may contain abstract methods to be implemented by subclasses?”

The accepted answer is D. Abstract class. Abstract class is the person body or term that satisfies Which term refers to a class that cannot be instantiated on its own and may contain abstract methods to be implemented by subclasses option D Option A Class does not match the stem it is a near-miss used to catch incomplete recall of Abstract class Option B Encapsulation does not match the stem it is a near-miss used to catch incomplete recall of Abstract class Remaining alternatives Polymorphism fall outside the same rule and should be eliminated once Abstract class is identified Object-Oriented Programming OOP questions of this type reward precise definitions rather than approximate associations Object-Oriented Programming OOP recall of this distinction is a regular item in FPSC PPSC.

Correct answer

D. Abstract class

Explanation

Abstract class is the person body or term that satisfies Which term refers to a class that cannot be instantiated on its own and may contain abstract methods to be implemented by subclasses option D Option A Class does not match the stem it is a near-miss used to catch incomplete recall of Abstract class Option B Encapsulation does not match the stem it is a near-miss used to catch incomplete recall of Abstract class Remaining alternatives Polymorphism fall outside the same rule and should be eliminated once Abstract class is identified Object-Oriented Programming OOP questions of this type reward precise definitions rather than approximate associations Object-Oriented Programming OOP recall of this distinction is a regular item in FPSC PPSC.

Source: Object-Oriented Programming (OOP) Official Reference Guide

Tags: computer science, oop, object-oriented programming, software design

Submitted by: MCQsHub Editorial

Related MCQs

More Object-Oriented Programming (OOP) MCQs