Pick something you actually care about — a small app you'd use yourself. Here are some ideas:
Write a one‑page plan: what it does, who uses it, and what classes you'll create. Planning saves hours of confusion later.
Identify the "things" in your app and how they connect. For a library manager: Book, Member, Loan. Decide which relationships are composition, aggregation, or association (from Module 6).
Sketch your classes with their key fields and methods. Don't worry about perfect — just get the shape right. A clear model makes the coding phase twice as fast.
Your project should show off what you've learned. Aim to include at least one example of each:
You don't need a fancy graphical interface. A console menu or file‑driven command list is enough. Keep it clear:
Keep the UI in its own class. It should only call domain methods — never contain business logic itself (Module 6's layering rule).
Write a manual test plan: a list of things you'll try, and what you expect to happen. For each feature, test both the "happy path" and the "bad input path."
Try to break your own app: what happens if the save file is missing? If a user enters letters where numbers should be? If a file is corrupted? Every failure is a chance to improve.
Once it works, make it better. Rename unclear variables. Split long methods. Move code to the right class. Add a few comments where things aren't obvious.
Ask yourself: "If someone else read this, could they understand it?" If the answer is no, refactor. Clean code is a gift to your future self.
Show your app to a peer or instructor. A strong presentation includes:
Be proud — you built a real, working object‑oriented app from scratch. That's a huge step.
Milestone 1 — Plan: Submit your one‑page plan: features, users, and a rough sketch of your classes. Get it approved before coding.
Milestone 2 — Core domain: Implement at least 3 core classes with basic functionality (no UI or files yet). Show they work by adding a small console test.
Milestone 3 — Skills check: Add at least one interface, one generic class or method, and one custom exception to your project. Explain how each improves the design.
Milestone 4 — Persistence: Add save/load functionality using JSON or CSV. Verify data survives a restart. Add basic try/catch around file operations.
Milestone 5 — UI: Build a simple menu‑driven UI in its own class. Show all key features working through the menu — no direct calls from UI to files.
Milestone 6 — Test & refactor: Write a manual test plan (at least 8 cases) and fix any issues. Refactor at least 2 things — shorter methods, clearer names, or moved responsibilities.
Milestone 7 — Deliver: Submit your code, your test plan, and a 5‑minute live demo. Include a one‑paragraph reflection on what you learned and what you'd do differently.
By the end of this module, you'll have: built a complete, working object‑oriented application that combines everything from Level Two — abstraction, generics, collections, exceptions, persistence, and clean design.