Q. Constructors are functions that return a new object as its value.

  • (A) True
  • (B) False
  • (C) ---
  • (D) ---
πŸ’¬ Discuss
βœ… Correct Answer: (A) True
Explanation: A constructor has the same name as the object name. Constructor method defined by the system is applicable to each and every object.
Explanation by: Shivam
A constructor has the same name as the object name. Constructor method defined by the system is applicable to each and every object.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
225
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Shivam
Publisher
πŸ“ˆ
98%
Success Rate