What are Java tokens

Smallest individual part of a java program is called Token.

It is possible to provide any number of spaces in between two token

Example:-

class Test {

public static void main(String args[])

{

System.out.println(“hi this is Atul”);

}

}

Tokens are———àclass , test , { ,”,[ …..etc

Published by Atul maurya

i am student of computer science & engineering .i want to become a java developer. my hobby is to learn programming language in easy way.

Leave a comment

Design a site like this with WordPress.com
Get started