Skip to main content

10 docs tagged with "intermediate"

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.

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.

Inheritance

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

OOP Overview

Quick-reference summary of Java OOP concepts — classes, encapsulation, inheritance, polymorphism, abstraction, records, and sealed 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.