Question

Differentiate between information hiding and encapsulation.

31 Jul 2018
Answer :
Word Count : 237

Information hiding and encapsulation are both important concepts in object-oriented programming, particularly in languages like C++. While they are related, they serve distinct purposes.

Encapsulation is the bundling of data (attributes) and the methods (functions) that operate on that data within a single unit, often referred to as a class in C++. It allows the internal workings of a class to be hidden from the outside, providing a clean interface for interacting with the class's functionality.

____ ______ ________ _____ _______ _____ ___ ______.
_________ _________ _____ ______ ________ _________ _____ ________ _____ ________.
______ ______ ____ ____ __________ ___ ___ _________ __________.
____ ______ ________ ______ ____ __________ __________ __________.
__________ ________ ____ _________ ________ __________ _______.
_____ _____ _____ __________ _________ ___ __________.
_____ ______ _________ _____ _______ ___ _______ __________ ________ ____ _____ _______.
__________ _________ _____ ______ ____ ____ _______ ________ _________ _________ _____ _____.
________ _______ _____ _________ _________ ______ ________ ________ _________ _______ ___.
_____ _____ __________ ___ _________ __________ ______ _______ ________ _________ __________ ____.
_____ _____ ________ ____ ______ ______ _____.
_______ _______ ________ _______ ______ ___ _____ _________ _______ ____ ________.
_________ ___ __________ ___ _______ ______ ________.
_________ ________ ________ _____ _______ ______.
______ ____ ______ ______ _________.
________ _________ ____ _______ ______ _______ _________ ___ ____ _______.
___ ___ __________ ____ ______ ____.
_________ _____ ____ ____ ________ ______ __________ _____ _________ ____ ___ ____.
______.
IGNOU ACADEMY
Your IGNOU journey, made easier.
  • Solved Assignments
  • Study Notes
  • Guess Papers
  • Question Papers
Skip in 10
Top
📞
Call Support Instant phone assistance IGNOU BCS 31 2016 - Differentiate between information hiding and encapsulation. | IGNOU Academy
→
🟢
WhatsApp Chat Fast live messaging
→
Email Us Business enquiries & support
→