Q. What will be the output of the following Java program?
class c
{
public void main( String[] args )
{
System.out.println( "Hello" + args[0] );
}
}
class c
{
public void main( String[] args )
{
System.out.println( "Hello" + args[0] );
}
}
β
Correct Answer: (D)
Runtime Error