English

Putting all relevant data and methods in one boundary is called:

Advertisements
Advertisements

Question

Putting all relevant data and methods in one boundary is called:

Options

  • Abstraction

  • Encapsulation

  • Polymorphism

  • Inheritance

MCQ
Advertisements

Solution

Encapsulation

Explanation:

Encapsulation is the process of combining data (variables) and the methods (functions) that operate on that data into a single unit (class). It also helps protect the data from unauthorized access.

shaalaa.com
  Is there an error in this question or solution?
Chapter 2: Class as the Basis of all Computation - Exercises [Page 64]

APPEARS IN

Rupa Pandit Computer Applications [English] Class 10 ICSE
Chapter 2 Class as the Basis of all Computation
Exercises | Q 1. (i) | Page 64
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×