Multiple choice technology programming languages

What will be the output following code with executed with command ? >java Main 2 public class Main { private static int a = 2; private static int b; public static void main(String[] args) { b = Integer.parseInt(args[0]); a = a + b; System.out.println("a=" + a); System.out.println("b=" + b); } static{ a = 0; } }

  1. a=4; b=2;

  2. a=2; b=4;

  3. a=0; b=2; *

  4. Run time error

Reveal answer Fill a bubble to check yourself
C Correct answer