Examveda
Examveda

What will be the output of the following Java program?
    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


This Question Belongs to Java Program >> Data Types And Variables

Join The Discussion

Related Questions on Data Types and Variables