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
Program is to find the maximum from two numbers: Program is to find the maximum from two numbers entered by the user having pointer variable as parameter void main()   {

I want source code for class booking system by using C++ Programming...Urgent

First line starts with T, number of test cases. Each test case T contains a necklace (N).

accept principal amount,rate of interest, & duration from the user. display interest amount and total amount

a program to find the area under the curve y = f(x) between x = a and x = b, integrate y = f(x) between the limits of a and b. The area under a curve between tw

Define hash functions. Explain the Division method, Mid square method and Folding method of hash functions.

Explain string constants in c language - Escape Sequences? Illustrations are "945", "hello", "well done", "5+3". The character constant (example 'x') isn't equivalent to the st

A: C++, unlike only about every other language with exceptions, is extremely accomodating while it comes to what you can throw. Actually, you can throw anything you akin to. That b

You are required to write a stand-alone DSP application in the C programming language. The overall objective of this application is to convert a signal from the time domain to t

Define global variable in c++ program: How to define a global variable and need of global variable in c++ program. int main() {    int m=20;    clrscr();    for