Yes, public university provides free education in Germany.  However, they charge semester fee for exams.