Public transportation works on the honor system. There are nor gates, turnciles or boxes where you need to tap your ticket unlike in other countries. Only exception are certain single/multi tickets that need to stamped to be invalidated. The transport authority will occasionally do ticket checks on board the bus, tram or subway "Fahrscheinkontrolle, just google Indiana Jones and the Last Crusade"