• +91 9723535972
  • info@interviewmaterial.com

OOP Interview Questions and Answers

Question - What is encapsulation?

Answer -

Encapsulation refers to binding the data and the code that works on that together in a single unit. For example, a class. Encapsulation also allows data-hiding as the data specified in one class is hidden from other classes.

Comment(S)

Show all Coment

Leave a Comment




NCERT Solutions

 

Share your email for latest updates

Name:
Email:

Our partners