Become a Better Programmer!

Sven Woltmann
Receive regular tips about Java programming, algorithms and data structures!
Unsubscribe whenever you want. Read my Privacy Policy.
Text Blocks in Java Java Text Blocks

Text blocks are a notation for multiline strings in Java. Why do we need them? How do we write and format them? Which escape sequences can or must we use?

Read more »
Java substring Method Java substring() Method

Java's String.substring() method is one of the most used Java methods ever.

How do you use the method? How does substring() work internally, and how has the implementation changed over time?

Read more »
Best books on health: nutrition, fitness, sleep Best Health Books: Nutrition, Fitness, Sleep (Updated 2022)

Recommendations and short reviews: The best books for a healthy lifestyle: healthy eating, fitness and sleep.

Read more »
Java 18 Features with Examples Java 18 Features (with Examples)

[Series: The most important new Java features from Java 10 to 18].

All new features of Java 18 with examples: UTF-8 as default character set, @snippet tag for code snippets in JavaDoc, jwebserver, Internet-address resolution SPI, and more...

Read more »
Sealed Classes in Java Sealed Classes in Java

Sealed classes and interfaces were the big news in Java 17.

What are sealed classes and interfaces? How exactly do they work? And why do we need them?

Read more »
Java 17 Features With Examples Java 17 Features (with Examples)

[Series: The most important new Java features from Java 10 to 17].

All new features of Java 17 with examples: Sealed Classes, InstantSource, HexFormat, context-specific deserialization filters, and more...

Read more »
Best Books on Financial Education Best Books on Financial Education (Updated 2021)

The best books for financial education, financial success and wealth building - short reviews and recommendations.

Read more »
Records in Java Java Records

Records are one of two major new features in Java 16.

What are records, and why do we need them? How to implement and use records? How to extend records with additional functions? What is important in the context of inheritance?

Read more »
Java 16 Features With Examples Java 16 Features (with Examples)

[Series: The most important new Java features from Java 10 to 17]

All new features of Java 16 with examples: "Pattern Matching for instanceof", Records, Value-Based Classes, Strong Encapsulation, new Stream methods, jpackage and more...

Read more »
Java 15 Features With Examples Java 15 Features (with Examples)

[Series: The most important new Java features from Java 10 to 17].

All new features of Java 15 with examples: Text Blocks, ZGC + Shenandoah, new String methods, Biased Locking, Sealed Classes (preview), and more...

Read more »
1 2 3 7