Multiple choice

The wrapping of data and functions into a single unit is known as

  1. polymorphism

  2. inheritance

  3. encapsulation

  4. none of above

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

Encapsulation is the bundling of data and the methods that operate on that data into a single unit, such as a class.