What is encapsulation in C++? Give an example.


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C++ General Interview Questions

Explain the difference between abstract class and interface in c++?

0 Answers  


Can we delete this pointer in c++?

0 Answers  


If horse and bird inherit virtual public from animal, do their constructors initialize the animal constructor? If pegasus inherits from both horse and bird, how does it initialize animal’s constructor?

0 Answers  


What does new in c++ do?

0 Answers  


Why we use #include iostream in c++?

0 Answers  






Explain register storage specifier.

0 Answers  


Find the second maximum in an array?

12 Answers   HCL,


Can recursive program be written in C++?

0 Answers  


What is class and structure in c++?

0 Answers  


Write bites in Turbo c++ Header ("Include") Files.

0 Answers  


Define pointers?

0 Answers  


what is the C++

1 Answers   Wipro,


Categories