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] );
}
}
A. Hello c
B. Hello
C. Hello world
D. Runtime Error
Answer: Option D
Join The Discussion