What if I write static public void instead of public static void in main method?

  1. Runtime Error

  2. Compilation Error

  3. Program compiles and runs properly.

  4. None of the above


Correct Option: C

Find more quizzes: