Saved searches

Use saved searches to filter your results more quickly

Cancel Create saved search Sign up Reseting focus

You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.

Garage.java utilizes a stack to simulate cars entering and exiting a garage. Since the garage can only accommodate 7 cars at a time, the rest of the cars that want to enter the garage need to wait in a First-In-First-Out queue for their turns. The arrival and departure of the each vehicle are kept track of and the ones waiting to enter the garag…

Notifications You must be signed in to change notification settings

shree131/Garage-Management-System

This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Go to file

Folders and files

Last commit message Last commit date

Latest commit

History

View all files

Repository files navigation

Garage-Management-System

image

Short summary of the project: Garage.java utilizes a stack to simulate cars entering and exiting a garage. Since the garage can only accommodate 7 cars at a time, the rest of the cars that want to enter the garage need to wait in a First-In-First-Out queue for their turns. The arrival and departure of the each vehicle are kept track of and the ones waiting to enter the garage are moved in when space becomes available.

About

Garage.java utilizes a stack to simulate cars entering and exiting a garage. Since the garage can only accommodate 7 cars at a time, the rest of the cars that want to enter the garage need to wait in a First-In-First-Out queue for their turns. The arrival and departure of the each vehicle are kept track of and the ones waiting to enter the garag…