What will be the output of the following Java program, Command line execution is done as – java Output “This is a comman
Posted: Wed Jul 13, 2022 7:46 pm
class Output { public static void main(String args[]) { for (String arg : args) { System.out.print(arg); } } }
a) This
b) java Output This is a command Line
c) This is a command Line
d) Compilation Error
a) This
b) java Output This is a command Line
c) This is a command Line
d) Compilation Error