Answers

Question and Answer:

  Home  C++ Constructors

⟩ Which of the following statement is correct? A. A constructor has the same name as the class in which it is present. B. A constructor has a different name than the class in which it is present. C. A constructor always returns an integer. D. A constructor cannot be overloaded.

Option A

A constructor has the same name as the class in which it is present.

 164 views

More Questions for you: