Doing a UML Class Diagram for a vending machine. Here is example of one:
Why would location be using int instead of String? And currentStatus: enum be used instead of String?
VENDING MACHINE- location: int
- id: int
- row: int
- col: int
- slot: int
- currentStatus: enum