Course home
OOP THROUGH JAVA UNIT I · UI24PC320CS JDK 21
1UNIT

12 classes · 3 labs · 10 PYQs

Objects, classes &
Java fundamentals.

Why OOP exists · the sealed box · Scanner, types & arrays · operators & control flow · the Java story and the JVM · your first real class · static & memory · inheritance · abstract classes & interfaces. One flat in Kondapur, four flatmates, one growing register.

PART A · C1–C2 · WHY OOP + FIRST PROGRAM PART B · C3–C4 · DATA + OPERATORS LAB 0 · WARM-UP PART C · C5–C8 · JAVA + JVM + FIRST CLASS LAB 1 PART D · C9–C10 · STATIC + INHERITANCE PART E · C11–C12 · ABSTRACT + INTERFACES LAB 2
⚡ ADVANCED CRASH COURSE The whole of Unit 1 in one sitting — 44 chunks, ≈ 6 hours, every PYQ solved in place. Fast-track revision path: full syllabus + add-on topics, line-per-press runnable programs, ruled-sheet PYQs, checkpoints that remember your progress. START THE SPRINT →

THE EXACT SESSION ORDER — FOLLOW IT TOP TO BOTTOM

Every session, in the order we meet it.

Classes teach the ideas; labs land exactly where the knowledge doc places them — LAB 0 after Class 4, LAB 1 after Class 8, LAB 2 after Class 12. Dimmed sessions unlock as we reach them.

PART A · WHY OOP + YOUR FIRST PROGRAM
C1 Why software needs organising

Zero jargon, zero Java. Four flatmates, four notebooks, one big muddle — and the two-column PYQ answer it becomes.

PART A● LIVE
C2 One sealed box — class = blueprint

IS-A / HAS-A · type hierarchy · install JDK 21 · HelloWorld · the five pieces of main.

PART A● LIVE
PART B · DATA IN, DECISIONS MADE
C3 Scanner · data types · variables · scope · arrays

The program finally listens — typed input, the eight primitives, and the tray of values.

PART B● LIVE
C4 Operators & control flow — the longest class

Arithmetic · relational · logical · assignment · bitwise · shift · precedence, then every branch and loop.

PART B● LIVE
L0LAB LAB 0 · Warm-up

The compile–run cycle on your own machine — everything C1–C4 taught, typed with your own hands.

AFTER C4● LIVE
PART C · THE JAVA STORY, THE JVM, YOUR FIRST CLASS
C5 Java the language — Gosling & the buzzwords

The 1991 set-top-box project that became the world's backend language.

PART C● LIVE
C6 JVM architecture

Class loader, memory zones, and where your .class file actually lives at runtime.

PART C● LIVE
C7 Execution engine & compilation flow

Interpreter, JIT, GC — what happens between typing java and seeing output.

PART C● LIVE
C8 Your first class — methods, constructors, this

Methods first, constructors second (a constructor IS a method), this last.

PART C● LIVE
L1LAB LAB 1 · Class + constructor + method overloading

Syllabus Lab 1 — your first class, built and overloaded on your own machine.

AFTER C8● LIVE
PART D · HOW JAVA HOLDS DATA + WHAT INHERITANCE RESTRICTS
C9 static · pass-by-value · memory model · GC · final constants

Where your data actually lives — final here means constants only; final method & class wait for C10, after extends.

PART D● LIVE
C10 extends + super · overriding · final method & class

The IS-A arrow from Class 2 becomes real code — then final earns its full meaning ("cannot override / cannot extend") + PYQ P2·Q1 solved live.

PART D● LIVE
PART E · CONTRACTS & THE UNIT-1 CLOSE
C11 Abstract classes · interfaces

The ₹0-salary bug that compiles — then abstract closes the door, and interface contracts bring C10's refused comma back, legally.

PART E● LIVE
C12 Covariant returns · common mistakes · Unit-1 close

The full circle back to the four notebooks — and the bridge into LAB 2.

PART E● LIVE
L2LAB LAB 2 · Inheritance + polymorphism + abstract + interface

Syllabus Lab 2 — the first Eclipse lab. Everything Unit 1 taught, in one build.

AFTER C12● LIVE
ADD-ON · THE COMPACTED SEVEN — EXAM-LINE TRAPS, TRACED
A+ADD-ON Add-On Masterclass · bits, two's complement, shifts, value vs reference, memory map, recursion & static

Seven Unit-1 ideas that return compressed into single exam lines — each traced bit by bit, frame by frame, box by box. 17 parts, dual TEACHING/LEARNING mode.

AFTER LAB 2● LIVE
A2ADD-ON Add-On · Arrays — every declaration, every initialisation, simple programs, 2D & jagged

All four declaration spellings · defaults + five fill ways · highest/average program · rows & columns · Krish's jagged cricket register. 11 parts, dual TEACHING/LEARNING mode.

AFTER C3 OR ANY TIME● LIVE

10 verified past-paper questions live inside these sessions.

Every PYQ is solved on a ruled notebook sheet, point by point — the first one lands in Class 1 (P1·Q1 · need of OOP · 2M), and each is elaborated beyond its marks weightage so no re-skin can surprise you.