Java is a general-purpose programming language that is class-based, object-oriented and is very popular. It’s one of the most popular programming languages in the world.
Hello World in Java:
public class FileName {
public static void main(String args[]) {
System.out.println(“Hello World!”);
}
}