These are the names of a variable or method or an array or a class or an interface or a package.
IDENTIFIER NAMING RULES:
1) It can contain alphabets(a to z, A to Z, α, β, γ, π), digits(0 to 9), symbols(_ , $).
2) It cannot contain .(dot), (space) or any other special character.
3) First letter cannot be a digit.
4) Must not match with any keyword.
5) Java is a case sensitive language i.e., it can differentiate between uppercase and lowercase characters.
6) Two identifiers cannot have same name within same scope.
IDENTIFIER NAMING CONVENTIONS:
1) class/interface name - title case
Ex: class MyFirstClass{
}
2) method name - camel case
Ex: void myFirstMethod(){
}
3) final variable - uppercase
Ex: final float PI=3.141f;
4) package name - lowercase
Ex: package myfirstpackage;
Feel free to post your queries and doubts in the comment section below...Just hope you are able to understand the logic and concept, please give some suggestions for improvement...Thankyou everyone ♡♥♡...!!!