create file form text file in java : I write this code to output text file but it doesn't produce any file after running it.

     String text1="hello word";
	      
	      try {
	    	  
				File file = new File("f0f0f0f.txt");
				FileWriter fileWriter = new FileWriter(file);
				fileWriter.write(text1);
 				fileWriter.flush();
				fileWriter.close();
			} catch (IOException e) {
				e.printStackTrace();
			}
	      
	      }