Accenture interview question

How to configure database in properties file?