Oracle
Oracle
Email Icon   Forward to a friend
Oracle Logo
Java Magazine
Java Magazine
Plus: Learn all about Java’s instance initializer blocks

June 2023

Visit Java Magazine
Yes, yes, I know that Java 20 is out. Yes, yes, I know that Java 21 will be released in September. Still, many developers aren’t familiar with the latest features, functions, improvements, and other facilities in Java 17, the Long Term Support (LTS) version.

It’s time to learn about the new stuff, even if you aren’t ready to migrate your production codebase. Study the new JEPs. Test the performance improvements and bug fixes. And don’t forget the myriad other changes that make Java better all the time.

One of the best ways to learn the modern Java platform is to take the Java SE 17 Developer certification exam, 1Z0-829. Study for it using the Java SE 17 Developer class from Oracle University.

An essential reference is the OCP Oracle Certified Professional Java SE 17 Developer (Exam 1Z0-829) Programmer’s Guide by Khalid Mughal and Vasily Strelnikov. It’s big, it’s heavy, and it’s a must-have.

Take care,
Alan Zeichick
Editor in Chief, Java Magazine
@zeichick

P.S. Want to see what’s new in Java 17 without taking the entire certification class? Take the short 40-minute course, “Java SE 17: New Features.”
The newest Java Magazine articles
The performance implications of Java reflection
Reflection slows down your Java code. Why is that? Reflection is powerful—and often misunderstood. Ben Evans discusses that and two major additional topics: how reflection is implemented in the HotSpot JVM and the changes made to reflection in recent versions of the Java platform.

All about Java’s instance initializer blocks
Initializers can be used to set initial values for fields in objects and classes. There are three kinds of initializers: field initializer expressions, static initializer blocks, and instance initializer blocks. This article, adapted from Khalid Mughal and Vasily Strelnikov’s book, digs into instance initializer blocks.

Curly Braces #10: The best way to measure Java developer productivity
How do you measure programmer productivity? Forget about counting the number of software lines of code (usually abbreviated as either LoC or SLoC) written each day. Eric Bruno discusses the shortcomings of the LoC approach (it’s even debatable what LoC is) and suggests a few alternatives.
10 recent Java Magazine quizzes from Mikalai and Simon
How private is a Java private inner class?

When is a Java object still reachable?

Crossing Java’s CyclicBarrier in a multithreaded environment

Nested lambdas and Java thunks

Collecting the Java garbage

Unmodifiable Map objects created from Java’s Map.of methods

Interface methods and assignment compatibility in Java

Using the Java stream methods dropWhile and takeWhile

String manipulation and local and instance variables

Java’s date and time TemporalAccessor generation interface
More quizzes
Other recent Java Magazine articles
Reflection for the modern Java programmer

The hidden and not-so-hidden gems in Java 20

Book review: DevOps Tools for Java Developers

Java 20 is here: Strengthening Java’s foundation for the future

Pseudorandom numbers in Java, Part 1: The background

Pseudorandom numbers in Java, Part 2: Randomness with Java 17

Reduce technical debt by valuing comments as much as code

Introducing the Visual Recognition spec for Java machine learning
Visit Java Magazine
Complimentary subscription to Java Magazine
Java Magazine is a deep dive into Java and the JVM. Find detailed explanations about the language and the platform written by experts and members of the Java development team.

Join a quarter of a million subscribers in getting useful, authoritative programming information delivered directly to your inbox.
Subscribe
Stay connected
#oraclejavamag | dev.java
Facebook Twitter RSSfeed
Terms of Use and Privacy | Unsubscribe | Contact Us | 
This email was sent to you because you subscribed to this newsletter.

Copyright © 2023, Oracle and/or its affiliates. All rights reserved. Oracle Corporation - Worldwide Headquarters, 2300 Oracle Way, Austin, TX 78741, United States
Oracle