Java 21

Java 21 Sequenced Collections

The new sequenced collection interfaces allow adding, retrieving, and removing elements at either end of the collection, along with a reverse-ordered view of it.

Java 21 String Templates

This Java tutorial discusses string templates in Java which is a new addition to the language in Java 21 as a preview feature.

Java Virtual Threads: Project Loom

In Java, Virtual threads (JEP-425) are JVM managed light-weight threads that will help in writing high throughput concurrent applications.

About Us

HowToDoInJava provides tutorials and how-to guides on Java and related technologies.

It also shares the best practices, algorithms & solutions and frequently asked interview questions.