Java Open And Write File Code Example

Snippet 1
  File file = new File("Z:\\results\\results.txt");