Menu
Question Index
...

If the following program is saved in file named "HelloWorld.java" and compiled, then what files get generated?

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


HelloWorld
HelloWorld.class
HelloWorld.java.class
No files get generated during compilation process

Doubts

Problems

Topic: How to Compile and Run Java Program In Cmd Prompt

Read this topic
Take test on this topic

0
Wrong
Score more than 2 points

© meritcampus 2016 - 2017

All Rights Reserved.

Learn Java Programming from our Experts in 30 Days