Loading…
Loading…
Language
Articles and problems tagged Java.
Why Java streams exist and how they differ from collections and loops: the "what, not how" style, lazy evaluation, the three stages of a pipeline (source, intermediate, terminal), single-use streams and a first look at parallel streams.
The complete table of contents for Core Java II, the advanced-libraries companion to Core Java I: streams, I/O, XML, networking, databases, date and time, internationalization, security, Swing and the Foreign Function and Memory API. 110 articles in thirteen parts. Start here, or jump to any part.
A line-by-line explanation of a simple Java program: classes and naming rules, why the file name matters, what public static void main(String[] args) means, statements and method calls, print vs println, exit codes, comments, and Java 25's simpler main.
JShell lets you type Java expressions and see results instantly, with no class, no main method and no compile step. Learn snippets, $ variables, tab completion, methods and records, the most useful slash commands, and how to use JShell to learn faster.
Why professional Java developers use an IDE, how to choose between IntelliJ IDEA, Eclipse, VS Code and NetBeans, and how to create a project, run it, fix compile errors with quick fixes, and step through code with the debugger.
Learn exactly what javac and java do, why the file name must match the public class, how to run single and multi-file programs without compiling first, and how to read and fix the most common command-line errors.
A step-by-step guide to installing Java 25 (LTS): choosing a JDK vendor, installing with an installer or package manager, setting PATH and JAVA_HOME, checking the install, and getting the library source code and API docs.
Is Java slow? Is it the same as JavaScript? Is it dead, or no longer free? Fourteen common myths about Java, each explained and corrected, so you start learning with an accurate picture of the platform.
How a Sun Microsystems project for TV set-top boxes became one of the world's most used platforms. Covers Oak, HotJava and applets, every major Java version up to Java 27, the six-month release cycle, and what LTS means.
Simple, object-oriented, robust, secure, portable, high-performance and more: what Java's designers promised in 1995, what each buzzword really means, and how well each promise holds up in modern Java.
Java is a language, a huge standard library and a virtual machine that work together. Learn what JDK, JRE, JVM and bytecode mean, how a Java program actually runs, and which Java editions and versions exist today.
The complete table of contents for the Core Java course: 116 articles across twelve parts, from "what is Java" through modules, with the current reading order and short notes on what each article covers. Start here, or jump to any part.