C++ Virtual Functions Question:

Download Job Interview Questions and Answers PDF

Explain data encapsulation?

C++ Virtual Functions Interview Question
C++ Virtual Functions Interview Question

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?