Why Java is a camel case language? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Why Java is a camel case language?

It is very difficult to understanstand to know as it is desined by the creater,,,,James Gosling..

1st May 2021, 12:09 PM
[ §andi¶ ]
[ §andi¶ ] - avatar
4 Answers
+ 2
becausethisisdifficulttounderstand ButThisIsEasierToComprehend
1st May 2021, 5:09 PM
Infinity
Infinity - avatar
+ 4
Java is a camel case language because it treats both upper and lower case letters distinctively
1st May 2021, 12:17 PM
Atul [Inactive]
+ 4
Ex-Tree tree Both will be treated differently in java
1st May 2021, 12:17 PM
Atul [Inactive]
+ 2
Sandip Maitra Java is not a camelCase language. It is just a rule to define variable/method and it is very simple to understand this. We use camelCase when we combined two or more word together to make a variable. For example Hello and World are two different word so if you want to make a variable of these two words then you have to use camelCase String helloWorld = "Hello World"; But you can also write like this helloworld there is no issue but it will look like it's a single word which is not. Compiler will never give error if you don't use camelCase. It is just to understand better what are you doing in your code. Like you apply CSS in html for look and feel same like that James Gosling added some rules in Java to understand your code better. For example - 1 - class name should start with Capital letter 2 - variable name should be in small but if you combine two or more words together then it should be camelCase 3 - method name should start with small letter but should be camelCase. And many more
1st May 2021, 1:10 PM
A͢J
A͢J - avatar