package sample;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
public class PathExample3 {
public static void main(String[] args) throws Exception {
Path path = Paths.get("temp/bar/note.txt");
Files.createFile(path);
}
}