What output is produced for the command: "java cmd a b c d", when following…
PYQ RPSC Programmer 2024
What output is produced for the command: "java cmd a b c d", when following code is run? class cmd { public static void main(String args[]) { System.out.println(args[2]); } }
- A.
c
- B.
cmd
- C.
b
- D.
a
- E.
Question not attempted
Attempted by 323 students.
Sign up free to check your answer
Sign up freeLoading lesson…

