Why is java case sensitive ? | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 2

Why is java case sensitive ?

20th Aug 2019, 3:10 PM
Mumin Lee
Mumin Lee - avatar
3 Respostas
+ 2
It is not Java, but many more programming languages! An obvious reason could be, that our spoken and written language is also case sensitive. For example ā€žI like Reading.ā€œ and ā€žI like reading.ā€œ have different meanings. The first refers to the city named Reading, the latter refers to the activity of getting information from written texts. Furthermore, a compiler or interpreter of a case sensitive language is easier to implement, because a text normalization algorithm is not required.
20th Aug 2019, 3:51 PM
Michael
Michael - avatar
+ 2
It's the compiler that is case sensitive. This is how algorithm works
4th Nov 2019, 11:37 AM
Mohammad Rasol Faqiri
Mohammad Rasol Faqiri - avatar
+ 1
with case sensitive is possible make more names in same length in large project can be problem get unique short readable name. With cs. you can write Scanner scanner; in comfort
20th Aug 2019, 6:26 PM
zemiak