Object-Oriented Programming (OOP)
Which of the following best names the concept in which an OOP principle that bundles data and methods together while restricting direct access to some components?
Difficulty: Medium
- A. This/self keyword
- B. Method overriding
- C. Multiple inheritance
- D. Encapsulation ✓
Correct answer
D. Encapsulation
Correct answer
Source: Object-Oriented Programming (OOP) Official Reference Guide
Tags: computer science, oop, object-oriented programming, software design
Submitted by: MCQsHub Editorial
Related MCQs
- An OOP concept that allows objects of different classes to be treated through a common interface. What is this...
- The concept in which an OOP principle that hides complex implementation details and exposes only essential fea...
- Inheritance is best defined as which of the following?
- Identify the correct definition of Abstraction.
- Identify the correct concept described as: an OOP mechanism that allows a class to acquire properties and beha...
- What term describes the following? a special method automatically called when an object of a class is created,...