diff --git a/solutions/java/src/elevatorsystem/README.md b/solutions/java/src/elevatorsystem/README.md index b700bf09..c2795a58 100644 --- a/solutions/java/src/elevatorsystem/README.md +++ b/solutions/java/src/elevatorsystem/README.md @@ -37,7 +37,7 @@ Design and implement an Elevator System that can handle multiple requests, move - **Methods:** requestElevator(int floor, Direction direction), step(), etc. ### 3. Request -- **Fields:** int floor, Direction direction +- **Fields:** int sourceFloor, int destinationFloor ### 4. Direction (enum) - Values: UP, DOWN, IDLE @@ -71,4 +71,4 @@ See `ElevatorSystemDemo.java` for a sample usage and simulation of the elevator - **Advanced scheduling:** Implement algorithms for optimal elevator assignment. - **Add features:** Such as maintenance mode, emergency stop, or floor display. ---- \ No newline at end of file +---