Is probable to encompass virtual constructor? if yes,how, C/C++ Programming

Is it probable to encompass Virtual Constructor? If yes, how? If not, Why?

 

Posted Date: 3/15/2013 3:50:00 AM | Location : United States





A: There is nothing such as Virtual Constructor. The Constructor can''t be virtual since the constructor is code that is responsible for developing an instance of a class and it can''t be delegated to any other object through virtual keyword means.

 

Posted by | Posted Date: 3/15/2013 3:50:11 AM


Related Discussions:- Is probable to encompass virtual constructor? if yes,how, Assignment Help, Ask Question on Is probable to encompass virtual constructor? if yes,how, Get Answer, Expert's Help, Is probable to encompass virtual constructor? if yes,how Discussions

Write discussion on Is probable to encompass virtual constructor? if yes,how
Your posts are moderated
Related Questions
How to insert values in array - c++ program: Write a program to insert values in array void main() { int a[2][3][2]={                                 {

In the final project assignment you are asked to develop an OOP C++ class hierarchy for derivative pricing, using the binomial tree and Black-Scholes option pricing methods. You wi

Write a program to illustrate array of structures? struct customer { int id; char name[15]; }; struct customer c[100]; . In the above instance, the array of Structures is

Memory Management Operator In C malloc( ), calloc( ), realloc( ), and free( ) are used to mange dynamic memory.  In addition to these function C++ have derived two unary ope

The task consists of two parts which are both preferably implemented in one source file. Towards the end of this document you will find a code skeleton that you must assume. Start

Write a program in C language to implement Two-Way Merge Sort. Input the following data to the program. Show all intermediate steps: 84, 83, 78,90,23,123,98,159,8,200

This programming assignment is for use in the LINUX/UNIX environment!! Introduction: System administration often requires custom written programs and tools. One problem a s

world wide web commands

if one won't explicitly call the destructor of a local; then how does he handle the above situation?

how we use the cin command and why we use this command????