Skip to main content

Interview Prep

This section aggregates the most important interview questions from each domain into dedicated per-domain Q&A pages. Each page organizes questions by difficulty (Beginner / Intermediate / Advanced) so you can focus revision time efficiently based on the role level you're targeting.

What You'll Find Here

DomainFocus Areas
Core Java Interview Q&AVariables, operators, OOP, type system, String, Collections fundamentals.
OOP Interview Q&AClasses, encapsulation, inheritance, polymorphism, abstraction, records, sealed classes.
Core APIs Interview Q&AObject class contract, String/StringBuilder, Math, wrapper types, Optional patterns.
Exceptions Interview Q&AThrowable hierarchy, checked vs. unchecked, try/catch/finally, custom exceptions, best practices.
Functional Programming Q&ALambdas, functional interfaces, method references, Streams, Collectors, parallel streams, Optional.
Multithreading Interview Q&Asynchronized, volatile, CompletableFuture, virtual threads.
Java Design Patterns Q&AAll 15 GoF patterns — Singleton, Proxy, Strategy, Observer, Template Method, State, and more.
JVM Internals Interview Q&AGC algorithms, class loading, JIT compilation, memory areas.
Spring Framework Q&AIoC, DI, AOP, bean scopes, bean lifecycle, events — proxy internals and transactional events.
Spring Boot Q&AAuto-configuration, starters, Actuator, profiles, testing slices.
Spring Data Q&AJPA mapping, transaction propagation, N+1 problem, projections, caching, @Transactional.
Spring Security Q&AFilter chain, OAuth2 flows, JWT validation, method security, CSRF, CORS.
Web & REST Q&AHTTP fundamentals, REST design, Spring MVC, exception handling, WebFlux, OpenAPI.
Databases Q&ASQL fundamentals, indexes, ACID, HikariCP, NoSQL trade-offs, Flyway vs Liquibase.
Version Control Q&AGit object model, branching strategies, rebase vs. merge, remotes, conflict resolution, hooks.
System Design Q&AMicroservices trade-offs, caching, reliability patterns, API design.
Testing Q&AJUnit 5, Mockito, Spring Boot test slices, integration tests, Testcontainers, MockMvc, WebTestClient.
Resume-Based Q&AQuestions mapped to specific resume experiences — Struts migration, Veracode security hardening, Docker/K8s, Apache POI, and STAR behavioral questions.

How to Use This Section

  • Skim Beginner questions in each page to confirm you have no blind spots in the basics.
  • Focus revision time on Intermediate questions — these are the target for 3–5 YOE roles.
  • Work through Advanced questions to prepare for senior and staff engineer interviews.
  • Overviews — domain overviews are the quick-reference complement to these Q&A pages.
  • Java — Java domain notes contain the full context behind each answer.