If the name of the class is "Yellow", what can be the possible name for its constructors?
Advertisements
प्रश्न
If the name of the class is "Yellow", what can be the possible name for its constructors?
विकल्प
yellow
YELLOW
Yell
Yellow
MCQ
Advertisements
उत्तर
Yellow
Explanation:
The constructor will have the same name as the class itself.
shaalaa.com
क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
