educative.io

Why do we need class for each Parking spot type?

Why do we need a separate class for each ParkingSpot Type?I dont see any usage here