In Java, we can use Files.exists(path) to test whether a file exists. The path can be a file or a directory. It is better to combine with !
確定! 回上一頁