Multiple Choice
If you have a class named myPersonClass, which of the following correctly declare a constructor in the class definition?
A) myPersonClass::myPersonClass) ;
B) myPersonClass) ;
C) init) ;
D) cast) ;
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q16: The name of a constructor is _
Q17: A member function that gets called automatically
Q18: Class data members are almost always public.
Q19: To assign values to a structure variable,
Q20: What is wrong with the following structure
Q22: A function may return a structure.
Q23: Which of the following function declarations will
Q24: A class member function that automatically initializes
Q25: Who can access private members in a
Q26: The double colon ::) is known as