Lesson 19: Capstone I — the Pet Hotel
Time to build a real system: a pet hotel. Check-in, check-out, guest counting — two cooperating classes, with everything you learned meeting in one codebase. Next lesson we extend the hotel with inheritance — so build it well.
A real hotel in miniature: guests (pets) check in and out, and the front desk (the Hotel class) keeps an orderly record of who's inside.
- capstone project
- A project connecting all course topics into one working system — proof the knowledge connects.
- check-in and check-out
- The hotel's core actions: adding a guest to the record and removing them from it.