Skip to main content

52 docs tagged with "java"

View all tags

Abstraction

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

Annotations

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

Arrays

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

Cheatsheets

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

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.

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 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.

Databases

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

DevOps

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

Encapsulation

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

Exceptions

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

I/O & NIO

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

Inheritance

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

Interview Prep

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

Java

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

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.

JVM Internals

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

Messaging

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

Methods

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

Object-Oriented Programming

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

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.

Operators & Expressions

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

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.

Polymorphism

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

Records (Java 16+)

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

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.

Strings

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

System Design

High-level architecture, microservices, distributed systems, SOLID principles.

Testing

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

Type Conversion

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

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.