They aren't. Well, they are numbered but they're basically car serial numbers, not anything all that useful in terms of standing in the right place when waiting for the train.
In Tokyo (and elsewhere in Japan) there are signs indicating where your car (e.g. car 4) will be when the train has stopped, so you just wait there. And when the train stops, the door is right in front of you..