Which among the following is correct?
Which among the following is correct? Correct Answer class student{ public: student(){} };
The constructors must not have any return type. Also, the body may or may not contain any body. Defining default constructor is optional, if you are not using any other constructor.
মোঃ আরিফুল ইসলাম
Feb 20, 2025