/ Token / token.java
token.java
 1  public class token {
 2    /*Tokens include the following : 
 3     * Variables
 4     * Operators
 5     * Identifiers
 6     * Keywords etc.
 7     */ 
 8    public static void main(String[] args) {
 9      int a = 10; 
10      float b = 10.23f; 
11      double c = 25.65; 
12      char d = 'D'; 
13  
14      //ALL of the above are Tokens
15  
16      System.out.println("Tokens used in this program: "); 
17      System.out.println("a: " + a + "\nb: " + b + "\nc: " + c + "\nd: " + d);
18    }
19  }