Multiple choice

The wrapping up of data and functions into a single unit is called _____________

  1. inheritance

  2. abstraction

  3. polymorphism

  4. encapsulation

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

Encapsulation is the object-oriented programming concept that binds together the data and the functions that manipulate that data into a single unit, usually a class.