![]() Related Questions "Poly" means "many" and "morph" means "form". Polymorphism is the ability of an object (or reference) to assume (be replaced by) or become many different forms Latest Answer : C++ enables polymorphism - The ability of obejcts of different classes related by inheritance respond differntly to the same function call. ... Latest Answer : It is the technique of performing all the necessary resource allocation in constructor only and all the cleanind in the destructor. ... Read Answers (2) | Asked by : suman Latest Answer : Virtual destructor makes sure that all derived objects are deleted first before deleting the base class objects. When base class pointer assigned with Derived class objects, the virtual destructor of the base class make sure that it deletes the derived ... Explain "passing by value", "passing by pointer" and "passing by reference" Tags : Pointer Latest Answer : As long as no diamond problems (improper inheritance), single or multiple inheritance can all be proper inheritance. When usng multiple inheritance with diamond problem, you can use virtual inheritance to make the multiple inheritance a proper one. ... Tags : Inheritance Latest Answer : Static variables of a class can only be initialized like this CLASS_NAME::STATIC_VAR_NAME = VAR_VALUE; ... Latest Answer : Encpasulation is the process of packaging the classes into the public interfaces and private implementation, so that, any changes in the code will not effect the implmentation. The interfaces should be designed such that the actual implementation would ... Read Answers (5) | Asked by : kaushal What is the difference between char str, char *str and char* str ?Explain the meaning of char* or int* ? what is inheritance? why we use it? plzz can anybody explain me with one example and where we use that concept? Latest Answer : The main use of inheritance is to provide reusability of codes .Through inheritance base class objects and functions are acquired by derived class so there is no need to specify it again in derived class ... Tags : Inheritance why we fallow top down approach in c-language and bottom up approach in c++?explain? Latest Answer : Top-down approach views from generalizaton to specilization where as bottom-up approach does the reverse of it. ...
Sponsored Links
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||