In this Java for Testers tutorial, we will learn how to Write in Java Properties File. Java library comes with the “Properties” class which is used along with the “FileWriter” or “FileOutputStream” class to write the values to a properties file in Java.