Advertisements
Advertisements
प्रश्न
Give two differences between Data Hiding and Encapsulation.
फरक स्पष्ट करा
उत्तर
S. No. | Data Hiding | Encapsulation |
1. | Data security is the main focus of data hiding. | The goal of encapsulation is primarily to hide the system's complexity. |
2. | Restricting the use of data is the primary goal of data hiding. | Data and function wrapping is the subject of encapsulation. |
shaalaa.com
या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
पाठ 1.01: Introduction to Object Oriented Programming Concepts - EXERCISES [पृष्ठ ९]