1) What will be the output of the following program?package chapters.chap02;public class Chap02 { public static void main(String[] args) { for (int i=0; i<5; i++){ switch (i){ case 0: System.out.println("0"); ++i; break; case -1: System.out.println("-1"); break; case 2: System.out.println("2"); i++; case 4: System.out.println("4"); break; } } }}