"막차는 몇 시야?"
Translation:What time is the last train?
막차←마지막 차 (literally last vehicle, but can refer to any mode of transportation service like train, bus, or van)
What time is the last one? should be accepted as it does not tell which mode of public transportation is on the topic.