What is the output of the following code when compiled and run? Select one correct answer. public class Question41{ public static void main(String[] args){ Object[] obj = new Object[3]; for(int i=0;i
Compilation error.
Prints: 1 3 4 true false true
Prints: 1 2 4 false false true
Prints: 3 4 true true true
None of the above.