Multiple choice

Which of the following is the principle of concealing the internal data and procedures of an object, and providing an interface to each object in such a way that it reveals very little information about its inner working?

  1. Inheritance

  2. Encapsulation and information hiding

  3. Class hierarchy

  4. Polymorphism

  5. Software analysis

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

This is the principle of concealing internal data and procedures of an object, and providing an interface to each object in such a way that it reveals very little information about its inner working.