हिंदी

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

Advertisements
Advertisements

प्रश्न

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

विकल्प

  • yellow

  • YELLOW

  • Yell

  • Yellow

MCQ

उत्तर

Yellow

Explanation:

The constructor will have the same name as the class itself.

shaalaa.com
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
2023-2024 (February) Official
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×