this post was submitted on 27 Sep 2025
45 points (95.9% liked)
Java
1861 readers
1 users here now
For discussing Java, the JVM, languages that run on the JVM, and other related technologies.
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
My code was merely a demonstration that just println is possible now. Like you, I'd prefer IO.println in "real" code. My bar for static imports is extremely high.
Static imports are only for static fields and methods. System.out::println is an instance method.