Q. Which of the following is true about constructors?
1) They cannot be virtual.
2) They cannot be private.
3) They are automatically called by new operator.

  • (A) All 1, 2, and 3
  • (B) Only 1 and 3
  • (C) Only 1 and 2
  • (D) Only 2 and 3
πŸ’¬ Discuss
βœ… Correct Answer: (B) Only 1 and 3

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
138
Total Visits
πŸ“½οΈ
2 y ago
Published
πŸŽ–οΈ
Praveen Singh
Publisher
πŸ“ˆ
91%
Success Rate