हिंदी

It is not a valid identifier:

Advertisements
Advertisements

प्रश्न

It is not a valid identifier:

विकल्प

  • name_

  • name$

  • _name

  • +name

MCQ
Advertisements

उत्तर

+name

Explanation:

  • An identifier cannot start with special symbols like '+'; therefore, '+name' is not a valid identifier.
  • name_, name$, and _name are valid identifiers (in Java).
shaalaa.com
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
अध्याय 1: Revision of Class 9 Syllabus - Exercises [पृष्ठ ४३]

APPEARS IN

रुपा पंडित Computer Applications [English] Class 10 ICSE
अध्याय 1 Revision of Class 9 Syllabus
Exercises | Q 1. (xx) | पृष्ठ ४३
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×