Computer Applications
Java is case sensitive. Explain.
Values & Data Types Java
32 Likes
Answer
Java is case sensitive means that it distinguishes between upper case and lower case characters. Consider the below code snippet:
int studentMarks;
StudentMarks = 85;
This will give a compilation error as Java will treat studentMarks
and StudentMarks
as two different variables because the case of the characters is not same in both.
Answered By
22 Likes