C++ Virtual Functions Question:
Download Questions PDF

Explain data encapsulation?

Answer:

The wrapping up of data and functions into a single unit (Class) is known as Encapsulation. By encapsulating the data inside the class; data is not accessible to the outside world.

Download C++ Virtual Functions Interview Questions And Answers PDF

Previous QuestionNext Question
Explain polymorphism?Explain virtual destructor?