मराठी

If the name of the class is "Yellow", what can be the possible name for its constructors?

Advertisements
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
  या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
2023-2024 (March) Official
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×