← Questions

Design a hotel booking system (object-oriented)

0
AmazonAppleOO designLast asked Jun 2026

An object-oriented design interview question asked in Apple's coding round and at Amazon, last asked Jun 2026. It tests object-oriented design.

Design the object model for a hotel booking system: hotels with room types and rooms, guests, bookings and payments. Guests search for availability for a date range, book, and cancel under a policy.

Sign in to unlock this question

The full prompt, the worked answer and your own canvas or code with the AI tutor. New accounts get 5 credits: each one unlocks a question for good.

Where it's asked

What it tests

object-oriented design

Your canvas and the AI tutor open when you unlock this question.