हिंदी

Assertion (A): In java statements written in lower case letter or upper case letter are treated as the same. Reason (R): Java is a case sensitive language.

Advertisements
Advertisements

प्रश्न

Assertion (A): In java statements written in lower case letter or upper case letter are treated as the same.

Reason (R): Java is a case sensitive language.

विकल्प

  • Both Assertion (A) and Reason (R) are true and Reason (R) is a correct explanation of Assertion (A).

  • Both Assertion (A) and Reason (R) are true and Reason (R) is not a correct explanation of Assertion (A).

  • Assertion (A) is true and Reason (R) is false.

  • Assertion (A) is false and Reason (R) is true.

MCQ
अभिकथन और तर्क
Advertisements

उत्तर

Assertion (A) is false and Reason (R) is true.

Explanation:

  • Java is a case-sensitive language, so uppercase and lowercase letters are treated differently.
  • For example, Name and name are considered two different identifiers. Therefore, the assertion is false, while the reason is true.
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. (xxxiii) | पृष्ठ ४४
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×