![]() Related Questions Latest Answer : When classes are inherited, we need to make the base class destructor virtual – to make sure when the object is destroyed, all the derived class destructors also called. Otherwise the derived class destructors are not called because the there is compile ... Latest Answer : There are 2 types of Polymorphism1. Compile time Polymorphism2. Run Time PolymorphismCompile time polymorphism is used for Function overloadingRuntime is used for implementing virtual functions,overriding etc. ... Explain "passing by value", "passing by pointer" and "passing by reference" Tags : Pointer Latest Answer : The return type of the printf() function is 'int'. (lot of confusion surrounding the return type of printf -- correct answer is 'int') ... Latest Answer : Poly [many] morph [form] as the name says many forms is supported. Two types of Polymorphism are operator overloading and function overloading.operator overloading => +operator can be implemented to add numbers or string or even if one wishes to subtract ... Latest Answer : there is no way to process an entire string.it has to be done char by char ... Latest Answer : Polymorphism is the ability to assume many forms. In short it refers to several methods / operators sharing the same name but having different parameter list and different implementations. Variables also can be polymorphic. There are two ways polymorphism ... Latest Answer : Dynamic polymorphism is also known as runtime polymorphism.It is achieved by means of virtual functions. Depending on the type of object referred by a variable the decision about the method to be called (whether to call base class implementation or the ... Can we call constructor of superclass directly without using super()method in subclass? if yes,explain,if no,why? Latest Answer : Abstraction is just like a Hotel room where a single person wants only
1bed+bathroom but family required minimum of double bed +bathroom. Whereas few
people want AC system or hot water system or TV like accessories but other
don’t. During the ... Read Answers (6) | Asked by : Nagasree V
Sponsored Links
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||