Menu
Question Index
...


Arrange the following program such that it compiles and prints I Love Java. Unselect any unwanted statements using the check box.

  • move class PrintJava
  • move { public static void main(String s[]) { System.out.println("I Love Java"); } }
  • move { Public Static Void Main() { System.out.println("I Love Java"); } }
  • move { Public static void Main(String args[]) { System.out.println("i love java"); } }

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.