In case you need a visa in order to study in Germany, you need to provide proof of your financial resources to the authorities.
There are different ways to prove your financial independence during your studies.
Please find further information here.