Skip to main content

247 docs tagged with "java"

View all tags

Abstract Factory Pattern

A creational pattern that produces families of related objects without specifying their concrete classes.

Abstraction

Hide complexity behind a clean contract — when to use abstract classes vs. interfaces, default methods, and the design forces that govern the choice.

Adapter Pattern

A structural pattern that allows incompatible interfaces to work together by wrapping one interface with a compatible one.

Adapter Pattern — Practical Demo

Hands-on examples of the Adapter pattern — wrapping incompatible APIs, integrating third-party SDKs, and using Spring DI as an adapter.

Annotations

Built-in annotations, custom annotations, meta-annotations, annotation processing.

API Contract

The single REST endpoint, full request and response shapes, Bean Validation rules, and what happens when validation fails.

API Design

Principles and patterns for designing clear, versioned, and client-friendly REST, gRPC, and GraphQL APIs in Java/Spring Boot services.

API Design — Practical Demo

Scenario-based walkthrough of designing a production-quality REST API with versioning, pagination, error handling, and rate-limiting headers in Spring Boot 3.

Arrays

Single and multi-dimensional arrays, creation, initialization, traversal, and the Arrays utility class.

Atomic Variables

Lock-free thread-safe operations using AtomicInteger, AtomicReference, LongAdder, and the compare-and-swap (CAS) CPU primitive that powers them.

Branching Strategies

A comparison of Git Flow, GitHub Flow, and trunk-based development — what each model is, when to use it, and how it shapes your CI/CD pipeline.

Builder Pattern

A creational pattern that separates the construction of a complex object from its representation, allowing the same construction process to produce different results.

Bytecode & .class Files

The structure of Java .class files — constant pool, bytecode instructions, and using javap to disassemble compiled code — plus how generics erasure, lambdas, and string concatenation look at the bytecode level.

Caching Strategies

Patterns for caching application data — cache-aside, write-through, write-behind — eviction policies, TTL design, and cache stampede prevention in Spring Boot with Redis.

Caching Strategies — Practical Demo

Scenario-based walkthrough of implementing cache-aside with Redis in Spring Boot — including TTL configuration, cache eviction, and stampede prevention.

Chain of Responsibility Pattern

A behavioral pattern that passes a request along a chain of handlers, each deciding to process it or pass it to the next handler.

Cheatsheets

Quick-reference pages for common Java APIs, collections, concurrency, and streams.

Class Loading

How the JVM loads, links, and initializes classes on demand — the parent-delegation model, the three standard classloaders, and how frameworks use custom classloaders for isolation and hot reload.

Classes & Objects

Understand Java classes as blueprints and objects as runtime instances — fields, methods, constructors, and the `this` keyword.

Cloud

AWS/GCP/Azure, cloud-native patterns, managed services.

Collections Framework

Collections hierarchy, List, Set, Map, iterators, Comparable vs Comparator, Collections utility class, immutability.

Collections Framework Interview Questions

Consolidated interview Q&A for the Java Collections Framework — hierarchy, List, Set, Map, Queue, iterators, sorting, and immutability — from beginner through advanced.

Collections Framework Overview

Quick-reference summary of the Java Collections Framework — hierarchy, implementations, complexity, and top interview questions.

Collections Hierarchy

The complete interface tree of the Java Collections Framework — Iterable, Collection, List, Set, Queue, and why Map stands apart.

Collectors

Java's built-in Collector implementations — toList, groupingBy, partitioningBy, joining, toMap, counting, and how to build custom collectors.

Command Pattern

A behavioral pattern that encapsulates a request as an object, enabling undo/redo, queuing, logging, and parameterization of operations.

Composite Pattern

A structural pattern that composes objects into tree structures to represent part-whole hierarchies, letting clients treat individual objects and compositions uniformly.

Conflict Resolution

How Git detects and marks merge conflicts, what three-way merge means, how to resolve conflicts efficiently with rerere and merge tools, and strategies to avoid them in the first place.

Connection Pooling & HikariCP

Why connection pooling is essential, how HikariCP works, and how to configure it correctly in Spring Boot applications.

Control Flow

if/else, switch expressions, for, while, do-while, break, continue — directing program execution in Java.

Core APIs

Core classes — Object, String, Math, wrapper classes.

Core APIs Interview Questions

Consolidated interview Q&A for Java's Core APIs — Object class, String, StringBuilder, Math, wrapper types, and Optional.

Core APIs Overview

Quick-reference summary of Java's core utility classes — Object, String, StringBuilder, Math, wrapper types, and Optional — with a learning path and top interview questions.

Core Java

Language basics — variables, data types, operators, control flow, type conversion.

Core Java Interview Questions

Consolidated interview Q&A for Core Java covering beginner through advanced topics — variables, types, operators, control flow, arrays, strings, methods, and packages.

Core Java Overview

Quick-reference summary of Core Java concepts, APIs, and interview questions for rapid revision.

Custom Exceptions

How to create domain-specific exception classes in Java — checked vs. unchecked choice, adding context fields, exception chaining, and hierarchy design.

Custom Exceptions — Practical Demo

Hands-on examples for building domain-specific exception hierarchies, adding typed fields, chaining exceptions, and integrating with Spring Boot's @ControllerAdvice.

Databases

SQL, NoSQL, connection pooling, schema migration (Flyway/Liquibase).

Databases Interview Questions

Consolidated interview Q&A for the Databases domain — SQL, indexes, transactions, connection pooling, NoSQL, and schema migration — beginner through advanced.

Databases Overview

Quick-reference summary of SQL, indexes, transactions, connection pooling, NoSQL trade-offs, and schema migration for Java backend engineers.

Decorator Pattern

A structural pattern that dynamically adds behavior to an object by wrapping it in decorator objects, without altering the original class.

DevOps

CI/CD pipelines, monitoring, observability, Spring Boot Actuator.

Distributed Systems

Core theory behind distributed systems — CAP theorem, consistency models, idempotency, and the Saga pattern for distributed transactions — for Java/Spring Boot backend engineers.

Domain Model

The entities, DTOs (Java Records), and enums that represent the core concepts of a loan application — and why each was designed the way it was.

Encapsulation

Hide internal state behind a controlled interface — access modifiers, getters/setters, and the art of designing immutable classes.

Exception Best Practices

Production-proven rules for when to throw, catch, wrap, and log exceptions in Java — covering the checked vs. unchecked debate, layered architecture patterns, and common anti-patterns.

Exception Handling

How GlobalExceptionHandler uses @RestControllerAdvice to intercept validation failures and unexpected errors and convert them into structured JSON responses.

Exception Handling — Practical Demo

Hands-on Spring Boot demo of @ControllerAdvice, ProblemDetail error responses, validation error shaping, and the catch-all exception handler pattern.

Exception Handling in Spring MVC

How to centralise HTTP error responses in Spring Boot — @ExceptionHandler, @ControllerAdvice, ProblemDetail (RFC 7807), and mapping domain exceptions to the right status codes.

Exception Hierarchy

The Throwable tree in Java — how Error, Exception, and RuntimeException relate, and what checked vs. unchecked means for API contracts.

Exceptions

Exception hierarchy, checked vs unchecked exceptions, try/catch/finally, try-with-resources, custom exceptions.

Exceptions Interview Questions

Consolidated interview Q&A for Java Exceptions — hierarchy, try/catch/finally, custom exceptions, and best practices from beginner through advanced.

Exceptions Overview

Quick-reference summary of Java exception handling — hierarchy, try/catch/finally, custom exceptions, and best practices — for rapid revision.

Facade Pattern

A structural pattern that provides a simplified interface to a complex subsystem, hiding its internal complexity from client code.

Factory Method Pattern

A creational pattern that defines an interface for creating an object but lets subclasses decide which class to instantiate.

Functional Interfaces

What functional interfaces are, the built-in types (Function, Predicate, Consumer, Supplier), and how to compose them.

Functional Programming Overview

Quick-reference summary of Java 8+ functional programming — lambdas, functional interfaces, method references, Streams, Collectors, parallel streams, and Optional — for rapid revision.

Garbage Collection

How the JVM automatically reclaims heap memory — GC roots, reachability analysis, generational collection, and the major collectors (Serial, Parallel, G1, ZGC) with tuning flags.

Generics

How Java generics provide compile-time type safety through parameterised types — covering generic classes, generic methods, bounded type parameters, and the key constraint that generics only work with reference types.

Generics — Practical Demo

Hands-on code examples for generic classes, generic methods, bounded type parameters, and the diamond operator.

Git Basics

The foundational Git concepts every developer needs — the three-area model, core commands, branching, .gitignore, and the daily workflow from init to push.

Git Hooks and Workflows

How Git hooks let you automate quality checks at every stage of the commit and push lifecycle — pre-commit linting, commit-msg validation, pre-push tests, and managing hooks across a team with tools like pre-commit.

Git Object Model

How Git stores every file, directory, and commit as content-addressable objects — blobs, trees, commits, and tags — and why this design makes Git so powerful and reliable.

HTTP Fundamentals

A deep dive into the HTTP protocol — methods, status codes, headers, content negotiation, and HTTP/2 basics — as used in Java backend development.

I/O & NIO

File handling, streams, buffers, channels, serialization, and NIO APIs.

Immutable Collections

How to create truly immutable List, Set, and Map instances in Java using the Java 9+ factory methods and how they differ from the older Collections.unmodifiable wrappers.

Indexes & Query Performance

How database indexes work, when to add them, how to read EXPLAIN plans, and common indexing pitfalls that hurt performance.

Inheritance

Extend classes with `extends`, override behavior with `@Override`, use `super` for parent delegation, and learn when inheritance causes more harm than good.

Integration Tests

How to use @SpringBootTest with TestRestTemplate and WebTestClient to write full-context Spring Boot integration tests.

Integration Tests — Practical Demo

Hands-on walkthrough of @SpringBootTest with TestRestTemplate, @MockBean for external dependencies, and Testcontainers for real database integration.

Interview Prep

Consolidated domain-specific Q&A for Java backend engineering interviews.

Iterators and the for-each Loop

How the Iterator protocol works, what ConcurrentModificationException means and how to avoid it, and how the enhanced for-each loop is compiled.

Java

Core Java language, standard library, JVM, and runtime concepts organized as dedicated subdomains.

Java Design Patterns Overview

Quick-reference summary of all 15 GoF design patterns in Java — participants, intent, Java/Spring examples, and top interview questions.

Java Evolution

Language and platform changes across Java versions — Java 8, 11, 17, 21.

Java Modules

Java 9+ module system (JPMS), module-info.java, strong encapsulation, requires/exports.

Java Type System

Primitives vs objects, autoboxing/unboxing, generics, type inference, wildcards, type erasure, bounded type parameters.

Java Type System Overview

Quick-reference summary of Java's type system — primitives, autoboxing, generics, wildcards, type erasure, and type inference — for rapid revision before interviews.

java.util.concurrent

The high-level concurrency toolkit — ExecutorService, Future, CompletableFuture, CountDownLatch, CyclicBarrier, and Semaphore — that replaces manual thread management in production Java.

JIT Compilation

How the JVM's Just-In-Time compiler converts hot bytecode into native machine code at runtime — tiered compilation (C1/C2), inlining, escape analysis, and the warmup behavior you see in every production service.

JUnit 5

The foundational Java testing framework — lifecycle annotations, assertions, parameterized tests, and test organization.

JUnit 5 — Practical Demo

Hands-on code examples and step-by-step walkthroughs for JUnit 5 lifecycle, assertions, and parameterized tests.

JVM Internals

Class loading, memory management, garbage collection, JIT compilation.

JVM Memory Model (Runtime Data Areas)

The JVM's runtime memory layout — heap regions, stack frames, Metaspace, and per-thread vs. shared areas — and why understanding it matters for diagnosing OutOfMemoryErrors and tuning performance.

Lambdas

Lambda expressions in Java — syntax, effectively-final capture, `this` behavior, and how they relate to functional interfaces.

List — ArrayList vs LinkedList

Understand Java's List interface, when to use ArrayList vs LinkedList, and how their internal structures drive performance trade-offs.

List — Practical Demo

Hands-on examples for ArrayList vs LinkedList, pre-sizing, safe removal, and subList behavior.

Loan Application Evaluator

A Spring Boot REST service that evaluates loan applications using risk classification, EMI calculation, and eligibility rules — covered layer by layer.

Locks

Explicit locking with ReentrantLock, ReadWriteLock, and StampedLock — when and why to reach for them over synchronized.

Locks — Practical Demo

Hands-on walkthroughs of ReentrantLock, ReadWriteLock, tryLock with timeout, and Condition-based signaling.

Map — Practical Demo

Hands-on examples for HashMap, LinkedHashMap, TreeMap, and ConcurrentHashMap — frequency counting, LRU cache, range queries, and atomic operations.

Math and StrictMath

Java's Math and StrictMath classes — trigonometry, rounding, overflow-safe arithmetic, random numbers, and when cross-platform reproducibility matters.

Messaging

Kafka, RabbitMQ, async patterns, event-driven architecture.

Method References

The four kinds of method references in Java — static, bound instance, unbound instance, and constructor — and when to prefer them over lambdas.

Methods

Method signatures, overloading, varargs, pass-by-value semantics, and recursion in Java.

Microservices

An architectural style that structures an application as a collection of small, independently deployable services — each owning its data and business logic.

Microservices — Practical Demo

Scenario-based walkthrough of building a two-service Order + Inventory microservices topology with service discovery, Kafka events, and Spring Boot 3.

Mockito

How to create mock objects, stub method calls, verify interactions, and capture arguments in Java unit tests.

Mockito — Practical Demo

Hands-on code examples for creating mocks, stubbing behavior, verifying interactions, and capturing arguments with Mockito.

MockMvc & WebTestClient

How to test Spring MVC and Spring WebFlux controllers at the HTTP level without starting a real server, using MockMvc and WebTestClient.

Multithreading & Concurrency Interview Questions

Consolidated interview Q&A for Java Multithreading — threads, synchronization, wait/notify, ExecutorService, locks, atomics, thread safety, and virtual threads from beginner through advanced.

Multithreading & Concurrency Overview

Quick-reference summary of Java concurrency — threads, synchronization, locks, atomics, ExecutorService, CompletableFuture, virtual threads — for rapid revision.

MySQL, PostgreSQL & H2 — Database Guide

Practical guide to MySQL, PostgreSQL, and H2 for Java developers — architecture differences, UUID handling, H2 for development, and migration paths to production databases.

NoSQL Trade-offs

CAP theorem, BASE properties, and when to choose Redis, MongoDB, Cassandra, or Elasticsearch over a relational database.

Object Class

The root of every Java class hierarchy — toString, equals, hashCode, clone, wait, notify, and finalize explained with contracts and pitfalls.

Object-Oriented Programming

OOP principles — classes, objects, inheritance, polymorphism, encapsulation, abstraction, interfaces, records, sealed classes.

Observer Pattern

A behavioral pattern where an object (subject) maintains a list of dependents (observers) and notifies them automatically when its state changes.

OOP Interview Questions

Consolidated interview Q&A for Java OOP covering beginner through advanced topics — classes, encapsulation, inheritance, polymorphism, abstraction, records, and sealed classes.

OOP Overview

Quick-reference summary of Java OOP concepts — classes, encapsulation, inheritance, polymorphism, abstraction, records, and sealed classes.

OpenAPI & Springdoc

Auto-generating interactive API documentation for Spring Boot REST APIs using springdoc-openapi — setup, @Operation/@Schema annotations, security schemes, and customisation.

Operators & Expressions

Arithmetic, relational, logical, bitwise, ternary, and instanceof operators — how Java evaluates expressions.

Optional — Practical Demo

Hands-on examples for Optional creation, chained transformations, orElseGet laziness, and common anti-patterns.

Optional (Java 8+)

Java's Optional container type — what it is, when it genuinely clarifies code, and the common anti-patterns that make it worse than a null check.

Optional Deep Dive

How to use Optional correctly — creation, retrieval patterns, chaining, and the anti-patterns that make Optional worse than null.

Overviews

Quick-reference summaries for every domain — designed for rapid revision before interviews.

Packages & Imports

Package structure, the import statement, the classpath, access modifiers, and how Java locates classes.

Parallel Streams

When parallel streams improve throughput, when they hurt, and how the ForkJoin common pool governs parallel execution.

Persistence Layer

How LoanApplication is mapped to H2 using JPA @Embeddable value objects, @ElementCollection for rejection reasons, and @PrePersist for UUID generation.

Polymorphism

Compile-time (overloading) vs. runtime (overriding) dispatch — how Java decides which method to call and why this is the foundation of flexible design.

Primitives vs. Objects

How Java's eight primitive types differ from object references — stack vs. heap, null safety, autoboxing, unboxing, and the performance tradeoffs involved.

Project Overview

What the Loan Application Evaluator does, why it exists, its tech stack, and how to run it locally.

Projects

End-to-end Java Spring Boot project walkthroughs — annotated source code deep-dives for interview preparation and real-world learning.

Projects Overview

Quick-reference summary of the Loan Application Evaluator project — architecture, key patterns, tech stack decisions, and top interview talking points.

Prototype Pattern

A creational pattern that creates new objects by copying (cloning) an existing instance rather than instantiating from scratch.

Proxy Pattern

A structural pattern that provides a surrogate object which controls access to another object, adding security, caching, logging, or lazy initialization transparently.

Proxy Pattern — Practical Demo

Hands-on examples showing manual proxies, JDK dynamic proxies, and how Spring AOP uses proxies for @Transactional and @Cacheable.

Rebase vs. Merge

The difference between git merge and git rebase — when each produces a better history, how interactive rebase cleans up commits, and the golden rule you must never break.

Records (Java 16+)

Java's concise immutable data carrier — understand what records generate automatically, compact constructors, and when records replace traditional value classes.

Reliability Patterns

Circuit Breaker, Retry, Bulkhead, Timeout, and Rate Limiter — the five resilience patterns that prevent cascading failures in distributed Spring Boot services, implemented with Resilience4j.

REST Design

How to design clean, coherent REST APIs — resource naming, HTTP verb mapping, versioning strategies, HATEOAS, and idempotency patterns used in production Spring Boot services.

Resume-Based Interview Questions

Interview Q&A mapped directly to resume experiences — legacy migration, security hardening, containerization, Apache POI, and behavioral STAR stories.

Scalability Patterns

Horizontal vs vertical scaling, stateless services, read replicas, database sharding, and load balancing — the patterns that allow a Java/Spring Boot system to handle growing traffic.

Scalability Patterns — Practical Demo

Scenario-based walkthrough of making a Spring Boot service horizontally scalable — stateless sessions with Redis, connection pool tuning, read replica routing, and async offloading.

Sealed Classes (Java 17+)

Restrict which classes can extend or implement a type — enabling exhaustive pattern matching and modeling closed, well-known type hierarchies safely.

Service & Business Logic

How the LoanApplicationService evaluates a loan — risk classification, interest rate calculation, EMI formula, and the two-tier eligibility check — step by step.

Set — Practical Demo

Hands-on examples for HashSet, LinkedHashSet, and TreeSet — uniqueness enforcement, ordering differences, and set operations.

Singleton Pattern

A creational pattern that ensures a class has exactly one instance and provides a global access point to it.

SOLID Principles

Five design principles that make object-oriented code easier to maintain, extend, and test — the foundation of clean Java design.

Sorting and Ordering — Comparable vs Comparator

Understand the difference between Comparable (natural ordering defined on the class) and Comparator (external ordering strategy), and how to use both with collections, streams, and sorted data structures.

Spring Boot Test Slices

How to use @WebMvcTest, @DataJpaTest, and @JsonTest to write fast, focused Spring Boot tests that load only the layers you need.

Spring MVC

How Spring MVC processes HTTP requests — DispatcherServlet, @RestController, request mapping, parameter binding, and ResponseEntity patterns used in everyday Spring Boot APIs.

Spring MVC — Practical Demo

Hands-on Spring MVC examples covering DispatcherServlet internals, parameter binding, validation, content negotiation, and interceptors.

SQL Fundamentals

Core SQL syntax and concepts — SELECT, JOIN types, GROUP BY, window functions, and subqueries — with Spring Boot JDBC context.

State Pattern

A behavioral pattern that allows an object to change its behavior when its internal state changes, as if the object changed its class.

Strategy Pattern

A behavioral pattern that defines a family of algorithms, encapsulates each one, and makes them interchangeable at runtime without changing the client.

Streams API

How Java streams work — pipeline anatomy, lazy evaluation, intermediate vs. terminal operations, and common pitfalls.

Strings

String immutability, the string pool, StringBuilder, and the most useful String APIs in Java.

Synchronization

How Java's synchronized keyword, intrinsic locks, volatile, and the happens-before relationship prevent race conditions in multithreaded programs.

System Design

High-level architecture, microservices, distributed systems, SOLID principles, caching, reliability patterns, API design, and scalability for Java/Spring Boot engineers.

System Design Interview Questions

Consolidated interview Q&A for System Design — covering SOLID principles, microservices, API design, caching, reliability patterns, distributed systems, and scalability.

System Design Overview

Quick-reference summary of System Design concepts — SOLID, microservices, API design, caching, reliability patterns, distributed systems, and scalability — with top interview questions.

Template Method Pattern

A behavioral pattern that defines the skeleton of an algorithm in a base class, deferring specific steps to subclasses without changing the overall structure.

Testcontainers

How to use Testcontainers to run real PostgreSQL, MySQL, Redis, and Kafka instances inside Docker containers during Java tests.

Testcontainers — Practical Demo

Hands-on examples for running PostgreSQL, Redis, and Kafka in Docker containers during tests, with Spring Boot 3.1+ @ServiceConnection.

Testing

Unit testing, integration testing, Testcontainers, Mockito, JUnit 5.

Testing Interview Questions

Consolidated interview Q&A for Java Testing covering JUnit 5, Mockito, Spring Boot test slices, integration tests, Testcontainers, MockMvc, and WebTestClient.

Testing Overview

Quick-reference summary of Java testing concepts — JUnit 5, Mockito, Spring Boot test slices, integration tests, Testcontainers, MockMvc, and WebTestClient.

Testing Strategy

How LoanApplicationService is unit-tested with JUnit 5 and Mockito — covering risk classification, EMI calculation, and all eligibility rules using @Nested test classes.

Thread Safety Patterns

Three design-level strategies for writing correct concurrent code — immutability, ThreadLocal confinement, and explicit object confinement — without reaching for locks.

Threads & Lifecycle

What a Java thread is, how to create one, and the six lifecycle states a thread transitions through from creation to termination.

Transactions & ACID

Database transactions, the four ACID properties, isolation levels, and how deadlocks occur — with Spring @Transactional context.

try / catch / finally

How to throw, catch, and clean up after exceptions in Java — covering multi-catch, finally guarantees, and the try-with-resources statement.

Type Conversion

How Java converts values between types — widening, narrowing, implicit promotion, and explicit casting.

Type Erasure

How the Java compiler removes all generic type information before producing bytecode, why this design choice was made for backward compatibility, and what limitations it imposes at runtime.

Type Erasure — Practical Demo

Hands-on code examples demonstrating what you can and cannot do because of Java's type erasure — instanceof, new T(), overloading, and the super type token pattern.

Type Inference

How the Java compiler deduces types automatically — covering the diamond operator, generic method type inference, `var` (Java 10+), and lambda target typing — and where inference has limits.

Variables & Data Types

The 8 primitive types, reference types, literals, constants, and the final keyword in Java.

Version Control

Git internals, branching strategies, workflows, and collaboration best practices.

Version Control Interview Questions

Consolidated interview Q&A for Git and version control covering beginner through advanced topics — Git basics, three-area model, object model, branching, rebase, remotes, conflict resolution, and hooks.

Version Control Overview

Quick-reference summary of Git basics, object model internals, branching strategies, rebase vs. merge, remotes, conflict resolution, and hooks for Java backend engineers.

Virtual Threads (Java 21+)

Project Loom's virtual threads — how they work, how they remove the scalability ceiling of thread-per-request servers, and what pinning and structured concurrency mean for your code.

Wait / Notify

How Object.wait(), notify(), and notifyAll() coordinate threads using the intrinsic monitor — including the spurious wakeup rule and when to use each method.

Web & REST Interview Questions

Consolidated interview Q&A for the Web & REST domain — HTTP fundamentals, REST design, Spring MVC, exception handling, WebFlux, and OpenAPI — beginner through advanced.

Web & REST Overview

Quick-reference summary of HTTP fundamentals, REST design, Spring MVC, exception handling, WebFlux, and OpenAPI for Java backend engineers.

WebFlux & Reactive — Practical Demo

Hands-on Spring WebFlux examples covering Mono/Flux basics, annotated controllers, functional routing, parallel I/O with Mono.zip, and SSE streaming.

WebFlux & Reactive Programming

Spring WebFlux — the reactive, non-blocking alternative to Spring MVC — covering Mono, Flux, functional endpoints, backpressure, and when to choose reactive over the blocking model.

Wildcards

How Java's wildcard type arguments — `?`, `? extends T`, and `? super T` — express variance in generic APIs, and how the PECS rule guides correct usage.

Wildcards — Practical Demo

Hands-on code examples for unbounded wildcards, upper-bounded (? extends T), lower-bounded (? super T), and the PECS rule.

Working with Remotes

How Git remotes work under the hood — fetch vs. pull, push, remote-tracking branches, upstream conventions, and collaborating safely with a team via GitHub or GitLab.

Wrapper Classes

Java's eight primitive wrapper types — Integer, Long, Double, and friends — covering autoboxing, caching traps, parsing, and when to use primitives vs objects.