21. What will be the output of the following Java program, Command line execution is done as - "java Output command Line 10 A b 4 N"?
class Output
{
public static void main(String args[])
{
System.out.print((int)args[2] * 2);
}
}
class Output
{
public static void main(String args[])
{
System.out.print((int)args[2] * 2);
}
}
Read More Section(Miscellaneous in Java)
Each Section contains maximum 100 MCQs question on Miscellaneous in Java. To get more questions visit other sections.
