KnowledgeBoat Logo

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