Answer:
Data Encapsulation is nothing but grouping up of related members (variables and methods) into a single unit called class
Data Hiding is nothing but restricting outside access of a class members using access modifiers such as private , protected and internal etc.,
Asked In: Many Interviews |
Alert Moderator