ICSE Class 10 Computer Applications Question 8 of 25

Values and Data Types — Question 8

Back to all questions
8
Question

Question 8

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.

Get the Bright Tutorials app Stuck on a question? Ask Bright Buddy — your AI tutor — for step-by-step help in the app.