Declare Multiple Variable in Java

Multiple variables can be declared in declaration block of for loop.
public class MultipleVariables {
 
  public static void main(String[] args) {
   
     for(int i=0, j=1, k=2 ; i<5 ; i++)
       System.out.println("I : " + i + ",j : "+ j + ", k : " + k);
     
}
}