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 are friend classes? What are advantages of using friend classes?

0 Answers  


Why struct is used in c++?

0 Answers  


how many rounds and wt type of questios ask in the written test for first round 2. tech. round 3. and futher rounds

0 Answers   Thought Works,


In a class, there is a reference or pointer of an object of another class embedded, and the memory is either allocated or assigned to the new object created for this class. In the constructor, parameters are passed to initialize the data members and the embedded object reference to get inialized. What measures or design change should be advised for proper destruction and avioding memory leaks, getting pointers dangling for the embedded object memory allocation? Please suggest.

5 Answers   GE,


Explain linked list using c++ with an example?

0 Answers  






Give an example of run-time polymorphism/virtual functions.

0 Answers  


when can we use virtual destructor?

7 Answers   HCL, HP, Virage Logic,


Can we use this pointer inside static member function?

0 Answers  


Can we make any program in c++ without using any header file and what is the shortest program in c++.

0 Answers   MCN Solutions,


What do you mean by Stack unwinding?

1 Answers  


Do you know what are static and dynamic type checking?

0 Answers  


Why is it difficult to store linked list in an array?

6 Answers   Infosys, Lucent,


Categories