Advertisement

1 - 10 of 312 containing alltags:("constructor") (0 seconds)
I am getting this error: airportsWaypointsSubMenuClass.java:43: No constructor matching genericMenuClass( ) found in class arp3.gui.menu.genericMenuClass.   public airportsWaypointsSubMenuClass(int...
Zones: JavaDate Answered: 07/20/1998 Grade: A Views: 0
Hello friends, I have read a lot about copy constructor. The more I read the more confused I become. What exactly is a copy constructor? What is the use of a Copy Constructor and how does it work?...
Zones: C++Date Answered: 01/21/1999 Grade: A Views: 0
Shall we can declare constructors in Private section in a class? Thanks in advance...
Zones: C++Date Answered: 06/08/2000 Grade: B Views: 0
I am having one of my funny turns again. Can anyone tell me why a constructor are not called thus: super.ClassName(args) but are I think, instead called thus: super(args)
Zones: JavaDate Answered: 05/28/2000 Grade: A Views: 0
Points for proskig!!! Here’s the final code, if anyone else is interested: Header file: class Base { public:    static Base* static_makeBase();    Base* makeBase();    Base* makeBase(c...
Zones: C++Date Answered: 06/25/2000 Grade: A Views: 0
Hi, Why we have to pass always referance to the copy constructor ? Why not just pass by value ?
Zones: C++Date Answered: 11/07/2002 Grade: A Views: 0
I have a class which has a constant property. When I try to initialize this property in the constructor (which is not the default, by the way) the compiler give the following error : 'const' : ...
Zones: C++, Microsoft Visual C++Date Answered: 07/17/2002 Grade: A Views: 0
Hi, I am trying to return a class object from a function but the object's contents are deleted by the automatic destructor before it is returned.  The contents consist of a an array which is del...
Zones: C++Date Answered: 11/15/2002 Grade: A Views: 0
I have a question regarding the Start/Shutdown of a COM+ service. When I start the application the constructor get called. The question is, what is immediately called when I shutdown the COM+ Ap...
Zones: .NETDate Answered: 03/14/2003 Grade: B Views: 0
How does this code make sense? ULONG m_cRef; .... static string g_strFoods[]={........}; ComFood::ComFood() : m_cRef(0) {  g_strFoods[rand()%g_ulNumberofFoods].c_str(); } 1) construc...
Zones: C++Date Answered: 09/26/2003 Grade: A Views: 0