ICSE Class 9 Computer Applications Question 7 of 14

Values and Data Types — Question 7

Back to all questions
7
Question

Question 7

Explain the following statement — "In Java, total, Total, ToTaL, and TOTAL are all different identifiers."

Answer

Java is a case sensitive language. total, Total, ToTaL, and TOTAL have the same set of letters but they differ in the case of these letters. Therefore, Java considers each of them as a different identifier.