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.
- A. Class
Why not A: “Class” is not correct. 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 s
- B. Encapsulation
Why not B: “Encapsulation” is not correct. 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 s
- C. Polymorphism
Why not C: “Polymorphism” is not correct. 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 s
- D. Abstract class ✓
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
- The following statement describes a specific concept. What is it called? a contract that defines a set of meth...
- What is the name for an OOP feature where a class can inherit properties and behaviors from more than one pare...
- What is Method overriding primarily used for?
- Which of the following best describes Multiple inheritance?
- Which concept is defined as follows: the ability of a subclass to provide a specific implementation of a metho...
- Identify the correct concept described as: a reference used within a class to refer to the current instance of...