Please can someone advise if there is anything wrong with this code? It doesn\'t write anything to the file
import java.io.PrintWriter; public class writeToFile