πŸ“’ Too many exams? Don’t know which one suits you best? Book Your Free Expert πŸ‘‰ call Now!

  • google app store apple app store
  • βœ–

      Question

      In C++, which feature allows hiding the internal details

      of a class?
      A Polymorphism Correct Answer Incorrect Answer
      B Abstraction Correct Answer Incorrect Answer
      C Inheritance Correct Answer Incorrect Answer
      D Encapsulation Correct Answer Incorrect Answer
      E Friend function Correct Answer Incorrect Answer

      Solution

      Encapsulation bundles data and methods, hiding internal details from outside access.

      Practice Next
      ask-question