Computer Applications
Explain the following statement — "In Java, total, Total, ToTaL, and TOTAL are all different identifiers."
Values & Data Types Java
59 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
33 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 Java keywords?
area, input, class, public, int, x, y, radius, long, Hello javaWhich of the following are invalid identifiers?
i. ten
ii. "Hello"
iii. 5678
iv. Coffee
v. $dollar
vi. 4Variables
vii. _var