20 Examination-Ready Java & OOP Diagrams
Every essential KTU diagram with accurate technical labels, component explanations, step-by-step flow, and exam drawing checklists.
JVM Architecture
Internal architecture of the Java Virtual Machine showing how compiled .class bytecode is loaded, stored across Runtime Data Areas, and executed by the Execution Engine.
Java Program Compilation and Execution
Two-stage hybrid compilation and interpretation flow demonstrating Write Once, Run Anywhere (WORA) across Windows, Linux, and macOS.
OOP Concepts (Four Pillars)
Visual overview of the four core pillars of Object-Oriented Programming surrounding Class & Object decomposition.
Class and Object Relationship (Stack & Heap)
Illustrates how a Class acts as a blueprint, how reference variables live on the Stack, and how new allocates distinct Object instances on the Heap.
Types of Inheritance in Java
Comparison of Single, Multilevel, and Hierarchical inheritance supported by Java classes, alongside Multiple and Hybrid inheritance (disallowed for classes, achieved via interfaces).
Constructor Execution Order in Inheritance
Demonstrates the invocation vs completion order in a multilevel hierarchy (Box -> BoxWeight -> Shipment): calls chain upward via super(), while constructor bodies execute top-down from superclass to subclass.
Dynamic Method Dispatch (Runtime Polymorphism)
Shows how a single superclass reference variable (Figure ref or A r) points to different subclass objects at runtime, causing the JVM to select the overridden method dynamically based on the actual object type.
Package Directory Structure & Access Scope
Illustrates how Java maps dot-separated hierarchical package names (com.ktu.oop) directly to nested OS file system directories and how CLASSPATH locates root packages.
Java Exception Class Hierarchy
Complete java.lang.Throwable class tree partitioning runtime issues into Error (unchecked JVM failures) and Exception (Checked vs RuntimeException Unchecked).
Exception Handling Execution Flow
Control-flow decision diagram showing how execution branches through try, matching catch handlers, finally cleanup, or default JVM termination.
Singleton Design Pattern
Structural & UML diagram of the Singleton creational pattern ensuring only one shared instance exists across the JVM with a global access point.
Adapter Design Pattern
Structural UML diagram showing how an Adapter wraps an incompatible Adaptee and translates requests from a Target interface expected by the Client.
SOLID Principles Overview
Visual summary of Robert C. Martin's five SOLID object-oriented design principles that eliminate rigid, fragile, and tightly coupled code.
AWT and Swing Component Hierarchy
Class inheritance tree showing how Swing builds upon AWT's Component and Container while splitting lightweight JComponent controls from heavyweight top-level containers (JFrame, JDialog).
MVC & Swing Model-Delegate Architecture
Side-by-side illustration of classic 3-part Model-View-Controller (MVC) and Swing's adapted Model-Delegate (Separable Model) architecture that merges View + Controller into the UI Delegate.
Delegation Event Model
Core interaction diagram of Java's Delegation Event Model showing Event Source registration, Event Object generation, and selective notification to registered Listeners.
Swing Event Handling Sequence on EDT
End-to-end runtime sequence showing how Swing initializes UI on the Event Dispatching Thread (EDT) and dispatches OS user input through the event queue to listener callbacks.
Swing Layout Managers Visual Guide
Visual blueprint of all five syllabus Layout Managers (FlowLayout, BorderLayout, GridLayout, CardLayout, GridBagLayout) showing component arrangement rules.
JDBC Architecture (2-Tier, 3-Tier & Driver Types)
Architecture layers of JDBC showing the Java Application, JDBC API, DriverManager, JDBC Driver API, and Two-Tier vs Three-Tier database access models.
6-Step JDBC Connectivity Execution Sequence
Sequential flowchart of the six conceptual JDBC steps from importing java.sql.* to closing database resources.