Java Zero to All All questionsPractise free
Home › Interview questions

Java & Spring Boot interview questions

179 questions with a short answer, a full explanation and the mistakes interviewers listen for. Every question has a difficulty level from I (Beginner) to V (Expert).

How Java Runs — JDK, JRE, JVM & Your First Program · Java Foundations — Zero to Basics

Variables, Data Types & Operators · Java Foundations — Zero to Basics

Control Flow — Loops, Conditionals & Switch · Java Foundations — Zero to Basics

OOP I — Classes, Objects, Constructors · Java Foundations — Zero to Basics

OOP II — Inheritance, Polymorphism, Interfaces · Java Foundations — Zero to Basics

OOP III — Encapsulation, Abstraction, Enums · Java Foundations — Zero to Basics

Strings, StringBuilder & String Pool · Java Foundations — Zero to Basics

Exception Handling & Custom Exceptions · Java Foundations — Zero to Basics

Generics — Wildcards, Bounded Types, PECS · Java Foundations — Zero to Basics

Efficiency & Big-O — Measuring Speed From Zero · Java Foundations — Zero to Basics

Collections Deep Dive — List, Set, Map, Queue · Java Foundations — Zero to Basics

Java 8 — Optional, Date/Time API, Method Refs · Java Foundations — Zero to Basics

File I/O — java.io, NIO2 & Files API · Java Foundations — Zero to Basics

JVM Architecture · JVM Internals & Runtime

Collections & Equals/HashCode Contracts · Core & Modern Java (8 -> 21)

IoC, DI & Bean Lifecycle · Spring & Spring Boot

SQL Mastery & Joins · Databases & Persistence

Scalability Fundamentals · System Design

Microservice Patterns & Architecture · Distributed Systems & Messaging

Docker & Containers · DevOps: Docker, Kubernetes & Helm

Linux Essentials & Shell · Linux, Networking & Observability

Multi-Module Maven Project Design · Real-World Java Backend Architecture

Creational Design Patterns · Design Patterns in Java

Strings — Practice Programs · Practice Programs — Master Every Pattern

JVM Internals — Top Interview Q&A · Interview Rapid-Fire — Top Q&A

Start Here — Build Your First AI Feature · Build AI Features as a Java Backend Engineer

Reading answers is not the same as giving them. Practise out loud with a timed mock interview, flashcards and an AI interviewer — free to start.

Start practising