What is encapsulation in OOP?

Bihar STET · PGT (Paper 2) · Computer Science · 2025

What is encapsulation in OOP?

  1. A.

    The ability to inherit properties from multiple classes

  2. B.

    The process of creating objects

  3. C.

    The bundling of data and methods that operate on the data

  4. D.

    The use of abstract classes only

Attempted by 605 students.

Show answer

Correct answer: C

The worked solution is available to enrolled students.

Explore the full course: Bihar Stet Paper Ii Computer Science

Loading lesson…