Explain data encapsulation?


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

Post New Answer

More C++ General Interview Questions

What is the difference between mutex and binary semaphore?

0 Answers  


What is a list c++?

0 Answers  


class A { public: void f(); protected: A() {} A(const A&){} }; Examine the class declaration shown above. Why are the default and copy constructors declared as protected? 1. To ensure that A cannot be created via new by a more derived class 2. To ensure that A cannot be copied 3. To ensure that A cannot be used as a base class except when public inheritance has been used 4. To ensure that A cannot be created/copied outside the inheritance chain 5. To ensure that A cannot be instantiated as a static variable

1 Answers  


Will rust take over c++?

0 Answers  


Define friend function.

0 Answers  






What are the 3 levels of programming languages?

0 Answers  


I want to write a C++ language program that: 1. Reads in the size of a square from the screen; 2. Prints a hollow square of that size out of “-“, “|” and blanks on screen; 3. Prints the same hollow square onto a text file. The program should work for squares of all side sizes between 1 and 20.

0 Answers  


Write a program to get the value of sin (x) using a library function , when x is given in degrees.

1 Answers  


What is the difference between c++ and turbo c++?

0 Answers  


What are the uses of static class data?

0 Answers  


What is a conversion constructor?

1 Answers  


What is a mutable member?

1 Answers  


Categories