Hello World Program

Write a Program in Java to display Hello World

class FirstJavaProgram {

public static void main(String[] args){

System.out.println("Hello World, This is my first program in Java");

}//End of main

}//End of FirstJavaProgram Class

 

Output :

Hello World, This is my first program in Java

Leave Comment

Important Topics

Title
Run and Compile
Hello World Program
User Input
Add Numbers
Sum of Two Numbers
Even Numbers
Odd numbers from 1 to n or 1 to 100
Even or Odd number
Average of 3 numbers
Fibonacci Series using loops
Generate random number
Largest of three Numbers
Decimal to octal conversion
Quotient and Remainder
Simple Interest
Compound Interest