πŸ“Š C++
Q. 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.
πŸ’¬ Discuss
βœ… Correct Answer: (A) A constructor has the same name as the class in which it is present.

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
100
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Ram Sharma
Publisher
πŸ“ˆ
91%
Success Rate