Menu
Question Index
...

What will be the output of the following program.

class HelloWorld
{
    public static void main(String t[])
    {
        System.out.println("Hello World");
        System.out.println("Hello Universe");
    }
}


Hello World. Hello Universe.
Hello World
Hello Universe
Hello World Hello Universe
Causes compilation error

Doubts

Problems

Topic: Java Sample Program - Simple Hello World Program In Java

Read this topic
Take test on this topic

0
Wrong
Score more than 2 points

© meritcampus 2016 - 2017

All Rights Reserved.