Java

Java tutorials, programs, and interview questions — from core Java basics to Spring, Hibernate, and advanced topics.

Start with the Java Learning Roadmap 2026: the complete guided path from your first program to job-ready production Java.

⏰ Timely: JDK 27 Released: G1 GC Is Now the Default, Compact Object Headers & Post-Quantum TLS — Should You Upgrade? — four defaults flip the moment you upgrade: your collector, object headers, TLS key exchange, and JFR redaction. What changes for running services, plus an upgrade checklist.
⏰ Timely: Oracle JDK 21's Free Updates Ended: What Java Teams Must Do Now — the October patch is the first under paid-subscription terms. A checklist to run this week.

1. Core Java

The foundation everything else stands on: modern Java 25, the type system, OOP done right, and the standard library. (18 posts — all live)

  1. Java Setup 2026: JDK 25, IntelliJ/VS Code, Your First Program
  2. Variables, Types & Operators — Java's Type System, Precisely
  3. Control Flow: if/switch/loops (with the modern switch)
  4. OOP in Java: Classes, Objects, Constructors
  5. Inheritance, Polymorphism & Abstraction — Done Right
  6. Interfaces, Default Methods & Functional Interfaces
  7. Equality, Identity & Hashing: ==, equals(), hashCode()
  8. Strings: Immutability, StringBuilder & the String Pool
  9. Enums & Annotations: The Language Mechanism Behind the Magic
  10. Exceptions: Checked vs Unchecked, and Clean Error Handling
  11. Collections I: List, Set, Map — The Essential Tour
  12. Collections II: How HashMap Really Works
  13. Generics & Wildcards: PECS Without Tears
  14. Lambdas & Functional Interfaces
  15. Streams, Collectors & Optional
  16. Records, Sealed Classes & Pattern Matching (Java 17+)
  17. Date, Time & Money: java.time and BigDecimal Done Right
  18. Files, I/O & NIO: Reading and Writing Data
  19. final vs finally vs finalize() in Java — and Why finalize() Is Dead

2. Java Tooling & Testing

Maven vs Gradle, JUnit 5 & Mockito, Testcontainers, Docker for Java, CI/CD with GitHub Actions, Gatling load testing, SpotBugs/Checkstyle/SonarQube static analysis, JaCoCo code coverage, and PIT mutation testing — the tooling Spring assumes you already know. (10 posts — all live)

Loading tutorials…

3. Spring Boot & APIs

Your first REST API, DI, JDBC before JPA, transactions, and Spring Security — then a complete end-of-track synthesis. (9 posts — all live)

Loading tutorials…

4. Data & Messaging

SQL ORMs hide, Kafka with Java, the transactional outbox, caching, Spring Batch, and Kafka Streams concepts. (6 posts — all live)

Loading tutorials…

5. Concurrency & JVM

Threads and locks, executors, virtual threads, CompletableFuture, GC, and production diagnosis with dumps and JFR. (6 posts — all live)

Loading tutorials…

6. Production Java (6 posts — all live)

Observability, config and secrets, resilience, safe deployments, load testing — ending in a production-ready capstone service. (6 posts)

Loading tutorials…

7. Data Engineering (10 posts — all live)

HDFS and MapReduce, Spark Core and SQL, file formats and the lakehouse, structured streaming, Cassandra, HBase, Redis and ClickHouse serving — ending in an end-to-end capstone pipeline.

Loading tutorials…

Coming from Python? (4 posts — all live)

An alternate entry path for Python developers: the mental-model shift, types and generics, the JVM ecosystem, and IntelliJ tooling.

Loading tutorials…

8. AI for Java Developers (10 posts — all live)

LLMs, RAG, embeddings, LangChain4j, Spring AI, function calling, and evals — everything grounded in Java with worked, runnable examples.

Loading tutorials…

Comments

Popular posts from this blog

JSP Servlet Interview Questions For Freshers Series 1

What are the core classes and interfaces of hibernate 4

Java Banking Finance Services and Insurance (BFSI) domain interview questions