Advertisements
Advertisements
प्रश्न
Multiple constructors with different set of parameters are called:
पर्याय
multiple constructors
formal constructors
actual constructors
overloaded constructors
MCQ
Advertisements
उत्तर
overloaded constructors
Explanation:
Constructor overloading allows a single class to have more than one constructor, provided their parameter lists (number of arguments, types of arguments, or order of arguments) are completely different. This gives the programmer flexibility to initialize objects in multiple distinct ways
shaalaa.com
या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
पाठ 4: Constructors - Exercises [पृष्ठ ११४]
