All skills
Languages & Frameworks
Java
Overview
Java is a high-level, general-purpose, memory-safe, object-oriented programming language. It is intended to let programmers write once, run anywhere (WORA), meaning that compiled Java code can run on all platforms that support Java without the need to recompile. Java applications are usually compiled to bytecode that can run on any Java virtual machine (JVM) regardless of the underlying computer architecture. The syntax of Java is similar to C and C++, but has fewer low-level facilities than either of them. The Java runtime provides dynamic abilities usually unavailable in traditional compiled languages.
Read moreHow it works
java
public class Main {
public static void main(String[] args) {
System.out.println("Hello, World!");
}
}The flow
Step by step, from source to running.
- 1Write .java source
- 2javac compiles to bytecode (.class)
- 3JVM loads & JIT-compiles to native
- 4Runs on any OS with a JVM