Added content into the file main.java.