A 38-step Java interview path for freshers: the language core, OOP, collections, modern Java and streams, concurrency and the JVM, JDBC, Spring Boot and testing, then 35 coding problems and the top 50 questions.
Java interviews for freshers keep returning to the same topics. This collection is an ordered path through them for freshers (0 to 1 year of experience): start with the roadmap, learn a topic, practise it with a short program, then test yourself with a quiz.
It runs from the JVM, strings and OOP through collections, generics and exceptions, then modern Java, streams, concurrency and the JVM, and finishes with JDBC, Spring Boot, unit testing, common mistakes, 35 coding problems and the 50 most-asked questions.
The examples are written for Java 21 (an LTS release) and run on later versions. The JDBC, Spring Boot and JUnit examples need libraries and are marked as illustrative.