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
The question description: You are required to make a C++ program to conduct timber component (beam and column) structural design according to EC5 (all the relevant design codes

The Main program is slightly more complicated and you need to think about the I/O process. First of all, for most applications you do not call the low level routines GetChar and P

Define External Storage Class - computer programming? When a variable is declared outside a function the storage is permanently assigned to it and its storage class is 'extern'

Temperature Conversions. Problems 28 through30generate temperature-conversion tables. Use the following equations that give relationships between temperatures in degrees Fahrenheit

# include stdio.h> # include conio.h> # include string.h> void main()   {           int i=0,j=0;           char a[100],temp;           clrscr();

WHAT IS CGI?

Templates permit to create generic functions that admit any data type as parameters and return value without having to overload the function with all the possible data types. Until


What are the debugging methods you employ while came across a problem? A: Debugging with tools such as: 1.      DBG, GDB ,Forte, Visual Studio. 2.      Using tusc to trace

The code contains two built-in pitfalls. First one, if it executes in a member function for an static, extern or automatic object, the program will possibly crash as soon as the de