True/False
It is legal to call a constructor as a member function of an object of a class,as in
class A
{
public:
A(){}
A(int x,int y):xx(x),yy(y){}
// other members
private:
int xx;
int yy;
};
int main()
{
A w;
w.A(2,3);// Is this legal?
}
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q9: Which of the following are legal access
Q10: Explain why data members,in particular should be
Q11: A constructor is like a function.It can
Q12: You can write a class that is
Q13: Any use of the keyword const is
Q15: A constructor is a special kind of
Q16: Describe the differences between a call to
Q17: Which of the following are accurate comparisons
Q18: If we use an out of range
Q19: Inline functions are always more efficent than