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

  • google app store apple app store
  • βœ–

      Question

      What is the primary goal of Abstraction in

      OOP?
      A To hide the implementation details and show only essential features. Correct Answer Incorrect Answer
      B To combine data and methods into a single unit. Correct Answer Incorrect Answer
      C To allow objects of different classes to be treated as objects of a common type. Correct Answer Incorrect Answer
      D To create new classes from existing classes. Correct Answer Incorrect Answer
      E To ensure data integrity through private members. Correct Answer Incorrect Answer

      Solution

      Abstraction focuses on "what" an object does rather than "how" it does it. It simplifies complex systems by hiding unnecessary details and exposing only the relevant functionalities to the user.

      Practice Next
      ask-question