Public transportation
If you're caught without a ticket you'll have to pay 40 euros on the spot
Public transportation in Germany is generally very good, particularly in the more densely populated areas. Regulations and ticket prices vary from city to city.
In buses, tickets can usually be purchased directly from the driver. For the tram (Strassenbahn), subway (U-Bahn), or suburban trains (S-Bahn), it's a good idea to purchase your ticket from a vending machine at the stop or station before you board.