English

Java is a case sensitive language. Which is the most appropriate statement with respect to this context? - Computer Applications

Advertisements
Advertisements

Question

Java is a case sensitive language. Which is the most appropriate statement with respect to this context?

Options

  • Upper and lowercase letters are distinguished.

  • Upper and lowercase letters are ignored.

  • Only lowercase letters are distinguished.

  • None.

MCQ

Solution

Upper and lowercase letters are distinguished.

Explanation:

  1. Case sensitivity in programming means that the language differentiates between uppercase and lowercase letters.
  2. In Java, uppercase and lowercase letters are distinct. This means MyVariable, myvariable, and MYVARIABLE are treated as three different identifiers. 
shaalaa.com
  Is there an error in this question or solution?
Chapter 1.05: Introduction to Java - EXERCISES [Page 53]

APPEARS IN

Avichal Computer Applications [English] Class 10 ICSE
Chapter 1.05 Introduction to Java
EXERCISES | Q I. 4. | Page 53
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×