Computer Applications
Java is a case sensitive language. Explain.
Java Intro
142 Likes
Answer
Java is case sensitive language 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
79 Likes
Related Questions
Name a package that is invoked by default.
What are the points to be taken care while naming a class in a Java program?
The main function in a Java program is declared as:
public static void main (String args[])
What is the significance of the words public, static and void?What does the term 'Compilation' mean?