Tech Master Tutorials
Email Facebook Google LinkedIn Pinterest Twitter
Home Java Java 8 Java Interview Questions Java Programming

Hello World

A simple Hello world program with just the main() method. main() method is an entry point for any java program i.e execution starts with the main method.

Main method has a predefined signature if not followed will lead to errors.
public class HelloWorld {
	public static void main(String[] args) {
		System.out.println("Hello World !");