Q1.
- (1) एक कंस्ट्रक्टर का नाम क्लॉस के नाम के समान है।
The name of a constructor is the same as the name of the class. - (2) एक क्लास के एक से अधिक कंस्ट्रक्टर हो सकते हैं।
A class can have more than one constructor. - (3) जब क्लास का ऑब्जेक्ट बनता है तो कंस्ट्रक्टर स्वत: एक्जेक्यूट हो जाता है।
Constructors execute automatically when a class object is created. - (4) कंस्ट्रक्टर को ओवरलोडेड नहीं किया जा सकता है।
Constructor cannot be overloaded.