12 classes · 3 labs · 10 PYQs
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.
THE EXACT SESSION ORDER — FOLLOW IT TOP TO BOTTOM
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.
Zero jargon, zero Java. Four flatmates, four notebooks, one big muddle — and the two-column PYQ answer it becomes.
C2 One sealed box — class = blueprintIS-A / HAS-A · type hierarchy · install JDK 21 · HelloWorld · the five pieces of main.
The program finally listens — typed input, the eight primitives, and the tray of values.
C4 Operators & control flow — the longest classArithmetic · relational · logical · assignment · bitwise · shift · precedence, then every branch and loop.
L0LAB LAB 0 · Warm-upThe compile–run cycle on your own machine — everything C1–C4 taught, typed with your own hands.
The 1991 set-top-box project that became the world's backend language.
C6 JVM architectureClass loader, memory zones, and where your .class file actually lives at runtime.
C7 Execution engine & compilation flowInterpreter, JIT, GC — what happens between typing java and seeing output.
thisMethods first, constructors second (a constructor IS a method), this last.
Syllabus Lab 1 — your first class, built and overloaded on your own machine.
static · pass-by-value · memory model · GC · final constantsWhere your data actually lives — final here means constants only; final method & class wait for C10, after extends.
extends + super · overriding · final method & classThe IS-A arrow from Class 2 becomes real code — then final earns its full meaning ("cannot override / cannot extend") + PYQ P2·Q1 solved live.
The ₹0-salary bug that compiles — then abstract closes the door, and interface contracts bring C10's refused comma back, legally.
The full circle back to the four notebooks — and the bridge into LAB 2.
L2LAB LAB 2 · Inheritance + polymorphism + abstract + interfaceSyllabus Lab 2 — the first Eclipse lab. Everything Unit 1 taught, in one build.
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.
A2ADD-ON Add-On · Arrays — every declaration, every initialisation, simple programs, 2D & jaggedAll four declaration spellings · defaults + five fill ways · highest/average program · rows & columns · Krish's jagged cricket register. 11 parts, dual TEACHING/LEARNING mode.
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.