Identifiers is the name of a variable or a method or an array or a class or a package or an interface.
class Demo{
void b(){
int a=10;
}
}
In the above code
Demo
is an identifier.
a
is an identifier.
b
is an identifier.
BASICPAYOUT✔️
_angular ✔️
basic-course ❌
#LAMP ❌
group. ❌
619 ❌
rush in bus ❌
over paid ❌
dontmind ✔️
FLOAT ✔️
hELLO ✔️
queue. ❌
team'svictory ❌
Plot # 2 ❌
2024_DDay ❌
1. Class/Interface Name(Title Case)
class MyFirstClass{}
2. Method/Function(Camel Case)
void myFirstMethod(){}
3. Package Name (Lower Case)
4. final/Constant(Upper Case)