Java (programming language)

Java is a high-level, general-purpose, memory-safe, object-oriented programming language.

Uses your system voice; voice and rate in settings.

≈ 3 min read

Cite, export and learn8 citation formats · 8 exports · lesson and quiz

Names in other languages

No names in other languages are held for this entry yet.

Article bodies are English and are not machine-translated. A name in another language is not a translation of the article.

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 (such as reflective programming (reflection) and runtime code modification) usually unavailable in traditional compiled languages. Java gained popularity shortly after its release, and has been a popular programming language since then. Java was the third most popular programming language in according to GitHub.

Although still widely popular, there has been a gradual decline in use of Java in recent years with other languages using JVM gaining popularity. Java was designed by James Gosling at Sun Microsystems. It was released in May 19951 as a core component of Sun's Java platform.

The original and reference implementation Java compilers, virtual machines (VMs), and class libraries were released by Sun under proprietary licenses. As of May 2007, in compliance with the specifications of the Java Community Process, Sun had relicensed most of its Java technologies under the GPL-2.0-only license.

Oracle, which bought Sun in 2010, offers its own HotSpot Java virtual machine. However, the official reference implementation is the OpenJDK JVM, which is open-source software used by most developers and is the default JVM for almost all Linux distributions.

Java 26 is the current version. public class HelloWorld { public static void main(String[] args) { System.out.println("Hello World!"); } } Java 25 introduced a simplified syntax for the main class and main method, which enables users to write small Java programs succinctly: void main() { IO.println("Hello World!"); }

Text derived from https://en.wikipedia.org/w/index.php?oldid=1375186425 under CC BY-SA 4.0; modifications have been made.

References

  1. ↩Wikipedia “Java (programming language)” revision 1375186425 · retrieved 2026-10-20 release date (×1) · confidence 0.95 revision URL

Provenance

snapshot enwiki-001375186425 · captured 2026-09-16 · ledger · version history

Cite this page as: encyclopegia.org, “Java (programming language)”, snapshot enwiki-001375186425. https://encyclopegia.org/a/java-programming-language