Tag: java25
All the articles with the tag "java25".
-
Software design
Abstract Class vs Interface: The Architecture of Intent
Mastering Java's dual inheritance system in 2026-abstract classes as blueprints, interfaces as contracts. Understanding when to use each in modern Java's complete type system.
9 min read
-
Software design
Modern Java Error Handling: Scoped Values, Structured Concurrency and Result
Try-with-resources and multi-catch, Scoped Values for request context, structured concurrency with the Java 25 API, the Result type, CompletableFuture, and what exceptions cost.
4 min read
-
Software design
Java Exceptions: How They Work and How to Design Them
What the JVM does when an exception is thrown, checked against unchecked, the Throwable hierarchy, custom exceptions and translation, the seven deadly sins of exception handling, and a short manifesto.
5 min read
-
JVM internals
JVM Object Headers and Java 25 Compact Headers
Why a Point with two ints takes 24 bytes, what the mark word stores, and how Java 25's compact object headers cut the header from 12 to 8 bytes.
5 min read