
The drawer of loose facts: JVM descriptors, the real maximum size of an array, why passwords are stored in char and not in String, the arraylength instruction, the only array println knows how to print, and other oddities that didn't fit into any post but are worth it.
jaa11
Sep 29, 2026
(11)

Fixed size, no insert or delete, no search by contents, no useful toString, no guarantees of uniqueness or order. The honest inventory of what an array doesn't do — which is exactly the table of contents of the next series.

A varargs parameter is an array with a different face. What the compiler does, why main(String[] args) and main(String... args) are the same, the overloading rules that confuse people, and what @SafeVarargs means.

Arrays are covariant and generics aren't: why Object[] objects = new String[3] compiles and fails at runtime, why you can't write new T[], and how to live with toArray(T[]).

A complete tour of java.util.Arrays: sort, binarySearch, fill, setAll, copyOf, compare, mismatch, toString, deepToString, stream, parallelSort and parallelPrefix — with the asList trap explained separately.

Why b = a copies nothing, what clone() does with an array of objects, when to use System.arraycopy or Arrays.copyOfRange, and why equals() on arrays is almost never what you want — but Arrays.equals and deepEquals are.

The three ways to iterate an array and what you gain and lose with each one: the classic indexed for, the for-each and its syntactic sugar, and Arrays.stream with IntStream to avoid paying for boxing.
(3)

What gets stored in your browser when you visit this site: two technical preference cookies, none for advertising or tracking, and what happens when a post embeds a third-party video.

The third-party fonts, images, trademarks and libraries this site uses, with their license and attribution — and the terms the site's own content is published under.

What this publishing project is: the topics it covers, how posts are grouped into series, why every article ships with audio and diagrams, how AI-generated content is flagged, and where to find the licenses, cookies and privacy pages.