The answer varies according to the type of transportation.
We recommend referring to the following instructions:
Yes.
It is, by the way, highly recommended to try on the « ekiben », ready-made regional meals (bento) sold in most of the stations in Japan, to enjoy during your travel!
Yes, usually (but not on the Yamanote Line in Tokyo).
Yes, usually.
No, usually.