/ Identifiers / identifiers.java
identifiers.java
 1  public class identifiers {
 2    /*
 3     * Identifiers unlike variables can contain mulutiple values like array name and so on 
 4     * Eg: Nae of arrays, class names, function names etc. 
 5     */
 6  
 7    public static void main(String[] args) {
 8      int a = 10;    //variable 
 9                     //
10      char c[] = {'a', 'b', 'c', 'd'};   //Identifier
11  
12      System.out.println("Variable : " + a);
13      System.out.println("Identifier: ");
14  
15      for(char element : c) {
16        System.out.println(element);
17      } 
18    }
19  }