Q. What is the main purpose of using abstraction in Object-Oriented Programming?

  • (A) To expose all the implementation details
  • (B) To restrict access to public methods
  • (C) To define class methods
  • (D) To hide the complex implementation details and only expose the necessary features
πŸ’¬ Discuss
βœ… Correct Answer: (D) To hide the complex implementation details and only expose the necessary features

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
276
Total Visits
πŸ“½οΈ
3 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
86%
Success Rate