Computer Applications
Explain the following statement — "In Java, total, Total, ToTaL, and TOTAL are all different identifiers."
Values & Data Types Java
ICSE
48 Likes
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.
Answered By
28 Likes
Related Questions
What are identifiers in Java? List three identifier formation rules.
How would you print characters like \, ' and " in Java?
Which of the following are invalid identifiers?
i. ten
ii. "Hello"
iii. 5678
iv. Coffee
v. $dollar
vi. 4Variables
vii. _varWhich of the following are Java keywords?
area, input, class, public, int, x, y, radius, long, Hello java