Java programming language:

  • It is most popular programming language
  • Java code runs on Java Virtual Machine (JVM)
  • Syntax is similar to C/C++
  • Applications of java mostly used in Mobile application (Android is good example)

Hello World Program:

// A Java program to print "Hello World" 
public class Rathorji{ 
    public static void main(String args[]) 
        System.out.println("Hello World"); 


Hello World

May this example will help you.