Q. Which of the following statement is correct? (Solved)
1. A constructor has the same name as the class in which it is present.
2. A constructor has a different name than the class in which it is present.
3. A constructor always returns an integer.
4. A constructor cannot be overloade
- a. A constructor has the same name as the class in which it is present.