What are identifies of Java
Answers
Answered by
2
Answer:
Hey mate..........
Identifiers in Java. Identifiers are the names of variables, methods, classes, packages and interfaces. Unlike literals they are not the things themselves, just ways of referring to them. In the HelloWorld program, HelloWorld , String , args , main and println are identifiers.
Hope its helpful!!
Følløw mē ❤✌❤✌
Answered by
2
Answer:
( Identifier is a term used to for the name of variable, method, classes etc.)
Identifiers in Java can be a method name, class name, variable name and label. packages and interfaces....
For example...
public class Test
{
public static void main(String[] args)
{
int a = 20;
}
}
In the above java code, we have 5 identifiers namely :
- Test : class name.
- main : method name.
- String : predefined class name.
- args : variable name.
- a : variable name.
HOPE IT HELP TO YOU ❣️☺️
Similar questions