12 classes · 4 labs · 10 PYQs · course close
The modern-Java finale — lambda expressions and the four functional interfaces · method references and the great Unit-4 Comparator rewrite · Stream pipelines (filter · map · collect) · regex with Pattern & Matcher · JavaBeans — then the whole course closes.
THE ROADMAP · C49 → C60
Part P collapses your hand-written Comparators into lambdas on the Student CGPA spine. Part Q chains Stream pipelines on place / delivery-order dashboards. Part R validates Indian input shapes (mobile · PAN · roll number) with regex, formalises JavaBeans — and closes the entire course. Labs 14 and 15 both land after C60, in that order.
You wrote a whole class to compare two cars — Java 8 does it in one line. Lambda syntax and the one-abstract-method rule. (P1·Q9)
Four interfaces cover almost every lambda you'll ever write — matched to real scenarios. (P2·Q10 · P2·Q15a)
The :: shorthand's four forms — then the payoff: your own Lab-11 Comparator collapses into one line, piece by taught piece.
The full toolkit at work on a real exam question, plus the Student CGPA domain the lab will use. (P1·Q15a)
Student CGPA sort with a lambda Comparator + LambdaSuite — factorial, even/odd, greeter in one file.
Not a data structure — a pipeline: source → reshape → finish. Declare what you want, not how to loop for it.
Reshaping the pipeline before it produces anything — powered by the Predicate and Function you met at C50.
The op that finally makes the pipeline run — toList, groupingBy, counting, and the spent-stream rule. (P1·Q10)
Two exam questions answered live, then Part Q closes into the Lab-13 runway. (P1·Q15b · P2·Q17c)
PlaceFilter (the exam's own Nepal pipeline) + delivery orders grouped and counted by city.
A tiny language for describing the shape of a string — tokens, quantifiers, anchors, classes. (P2·Q9)
Two exam-graded regex problems built from yesterday's pieces; the regex block closes here. (P1·Q17c · P2·Q15b)
A class that follows one convention so every tool can read it — no-arg constructor, private fields, getters/setters, Serializable.
The whole five-unit map front to back, fresher-interview warm-up, and the road that starts here — Spring Boot, Android, beyond.
Mobile-number and PAN validators — both real exam questions, verbatim. Needs only the regex content finished by C58.
No new topics — lambda, Stream and regex revised together in one cross-topic close to the whole course.
Part P carries P1·Q9 (lambda ↔ functional interface), P2·Q10 (even/odd lambda), P2·Q15a (functional-interface example) and P1·Q15a (lambda factorial). Part Q carries P1·Q10 (intermediate vs terminal), P1·Q15b (the Nepal filter) and P2·Q17c (any three Stream ops). Part R carries P2·Q9 (mobile-number regex), P1·Q17c (lowercase-to-front) and P2·Q15b (PAN validator). Every one appears as a stepped model program inside its class, and the two regex validators land again as Lab 14's exercises verbatim.