C++ Virtual Functions Question:

Explain data encapsulation?

Tweet Share WhatsApp

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 PDF Read All 30 C++ Virtual Functions Questions
Previous QuestionNext Question
Explain polymorphism?Explain virtual destructor?