Smallest individual part in a java program is called Token.
It is possible to provide any number of spaces in between two tokens.
Ex:
Class Test
{
Public static void main(String[] args)
{
int a=10;
System.out.println(“java tokens”);
}
}
Tokens are--------- class,test,{,”,[-----------------------------etc
It is possible to provide any number of spaces in between two tokens.
Ex:
Class Test
{
Public static void main(String[] args)
{
int a=10;
System.out.println(“java tokens”);
}
}
Tokens are--------- class,test,{,”,[-----------------------------etc
No comments:
Post a Comment