हिंदी

A method name should be ______.

Advertisements
Advertisements

प्रश्न

A method name should be ______.

विकल्प

  • a keyword

  • an identifier

  • an object

  • a class

MCQ
रिक्त स्थान भरें
Advertisements

उत्तर

A method name should be an identifier.

Explanation:

  • A method name should be a valid identifier. 
  • It follows Java naming rules, such as starting with a letter, _, or $, and it cannot be a keyword.
shaalaa.com
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
अध्याय 3: User-Defined Methods - Exercises [पृष्ठ ९०]

APPEARS IN

रुपा पंडित Computer Applications [English] Class 10 ICSE
अध्याय 3 User-Defined Methods
Exercises | Q 1. (iv) | पृष्ठ ९०
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×