Home › Java Tutorial › Java introduction
Java introduction
A popular, object-oriented language that runs almost everywhere.
Java is used for Android apps, back-end servers, banking systems and big-data tools. You write source code, the compiler (javac) turns it into bytecode, and the JVM (Java Virtual Machine) runs that bytecode on any computer. Every Java program lives inside a class, and execution starts in the main method.
Example code
public class Main {
public static void main(String[] args) {
System.out.println("Hello, Java!");
}
}