Java provides four different types of Cases to write the name
1 Lower Case:--
variable,single word method name,package name,subpackage name
2 Proper Case:- first char will be in caps and remaining will be in small
Classname,Intefacename
3 Upper Case:- all char will be in caps
Constant name
4 Camel Case:- first word will be in lower case and the second word will be in the proper case
void displayHello()
{
}
void displayStudentInfo()
{
}
..........................................................................................................................................................
1 Lower Case:--
variable,single word method name,package name,subpackage name
2 Proper Case:- first char will be in caps and remaining will be in small
Classname,Intefacename
3 Upper Case:- all char will be in caps
Constant name
4 Camel Case:- first word will be in lower case and the second word will be in the proper case
void displayHello()
{
}
void displayStudentInfo()
{
}
..........................................................................................................................................................
POST Answer of Questions and ASK to Doubt