Object-Oriented Programming (OOP)
Identify the correct definition of Abstraction.
Difficulty: Medium
About this MCQ
This Medium Object-Oriented Programming (OOP) MCQ checks one syllabus fact.
The question is: “Identify the correct definition of Abstraction.”
The accepted answer is D. An OOP principle that hides complex implementation details and exposes only essential features.. Identify the correct definition of Abstraction is answered by An OOP principle that hides complex implementation details and exposes only essential features option D Option A A class that cannot be instantiated on its own and may contain abstract methods to be implemented by subclasses does not match the stem it is a near-miss used to catch incomplete recall of An OOP principle that hides complex implementation details and exposes only essential features Option B An OOP feature where a class can inherit properties and behaviors from more than one parent class does not match the stem it is a near-miss used to catch incomplete recall of An OOP principle that hides complex implementation details and exposes only essential features.
- A. A class that cannot be instantiated on its own and may contain abstract methods to be implemented by subclasses.
Why not A: “A class that cannot be instantiated on its own and may contain abstract methods to be implemented by subclasses.” is not correct. The accepted answer is D. An OOP principle that hides complex implementation details and exposes only essential features.. Identify the correct definition of Abstraction is answered by An OOP principle that hides complex implementation details and exposes only essential features option D Option A A cla
- B. An OOP feature where a class can inherit properties and behaviors from more than one parent class.
Why not B: “An OOP feature where a class can inherit properties and behaviors from more than one parent class.” is not correct. The accepted answer is D. An OOP principle that hides complex implementation details and exposes only essential features.. Identify the correct definition of Abstraction is answered by An OOP principle that hides complex implementation details and exposes only essential features option D Option A A cla
- C. The ability of a subclass to provide a specific implementation of a method already defined in its parent class.
Why not C: “The ability of a subclass to provide a specific implementation of a method already defined in its parent class.” is not correct. The accepted answer is D. An OOP principle that hides complex implementation details and exposes only essential features.. Identify the correct definition of Abstraction is answered by An OOP principle that hides complex implementation details and exposes only essential features option D Option A A cla
- D. An OOP principle that hides complex implementation details and exposes only essential features. ✓
Correct answer
D. An OOP principle that hides complex implementation details and exposes only essential features.
Explanation
Identify the correct definition of Abstraction is answered by An OOP principle that hides complex implementation details and exposes only essential features option D Option A A class that cannot be instantiated on its own and may contain abstract methods to be implemented by subclasses does not match the stem it is a near-miss used to catch incomplete recall of An OOP principle that hides complex implementation details and exposes only essential features Option B An OOP feature where a class can inherit properties and behaviors from more than one parent class does not match the stem it is a near-miss used to catch incomplete recall of An OOP principle that hides complex implementation details and exposes only essential features.
Source: Object-Oriented Programming (OOP) Official Reference Guide
Tags: computer science, oop, object-oriented programming, software design
Submitted by: MCQsHub Editorial
Related MCQs
- What is the function or purpose of Encapsulation?
- In computer science, Constructor refers to which of the following?
- Which of the following best names the concept in which an OOP principle that bundles data and methods together...
- Select the correct name for: the ability to define multiple methods with the same name but different parameter...
- Choose the correct description of Polymorphism.
- Which statement correctly explains Method overloading?