What is java naming method | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

What is java naming method

.

20th Oct 2020, 4:21 PM
(RAHUL) [OR] (RAGAVENDRAN)
(RAHUL) [OR] (RAGAVENDRAN) - avatar
2 Answers
+ 1
One of the most common Java naming conventions is to use Upper camel case for class names, and lower camel case for all other names (methods, fields, parameters)
20th Oct 2020, 5:18 PM
none
none - avatar
+ 1
Oh also I forgot to add that type variable names are a single uppercase letter (T is most common) and constant variables (static final) are all uppercase and use underscores to separate words like STANDARD_SESSION_KEY
20th Oct 2020, 5:20 PM
none
none - avatar