Introduction
22 lessons in this section of the Java tutorial. Work through them in order, or jump to the one you need.
- 1.What is Java?
Java is a high-level, object-oriented programming language built on one killer idea: write your code once, and run it on any device — Windows, Mac, Linux, phone…
- 2.Features of Java
Java didn't become one of the world's most used languages by accident.
- 3.Uses of Java
Java powers everything from Android apps to banking systems, from streaming backends to scientific and government systems.
- 4.Java Editions (Java SE, EE, ME)
Java isn't one-size-fits-all. It comes in three distinct editions — each built for a different environment. Whether you're building a desktop app, a banking backend, or…
- 5.JDK, JRE and JVM
If you've installed Java and seen 'JDK' and 'JRE' and wondered what on earth the difference is — this clears it up for good.
- 6.Java Architecture
How does Java code written on your laptop run identically on a server halfway across the world?
- 7.Platform Independence
Write once, run anywhere — Java's most famous promise.
- 8.Bytecode
Bytecode is the secret ingredient behind Java's 'write once, run anywhere' promise.
- 9.How Java Works
You write Java code, hit run, and something happens.
- 10.First Java Program
Every Java developer started with the same program — Hello, World.
- 11.Java Compilation Process
Most developers know you run javac and get a .class file.
- 12.Java Execution Flow
What happens between typing java MyProgram and seeing output on screen?
- 13.Java Installation
Before you write a single line of Java, you need the JDK installed and working.
- 14.Setting JAVA_HOME
JAVA_HOME is an environment variable that points to your JDK installation directory.
- 15.Java Environment Setup
Installing the JDK is just the first step.
- 16.Java Naming Conventions
Java naming conventions aren't enforced by the compiler — your code runs fine if you ignore them.
- 17.Java Keywords
Java has 67 keywords — reserved words that the compiler treats as part of the language syntax.
- 18.Java Reserved Words
Reserved words are identifiers you cannot use in your Java code — they're claimed by the language itself.
- 19.Java Identifiers
An identifier is any name you give to a variable, method, class, package, or label in Java.
- 20.Java Unicode System
Java was built with internationalization in mind from day one.
- 21.Java Comments
Comments are the parts of your code the compiler ignores — but they're often the parts human readers need most.
- 22.Java Coding Standards
Coding standards are the agreed-upon rules that make a codebase consistent, readable, and maintainable — especially when multiple developers work on it.