📜  duckduckgo - Java 代码示例

📅  最后修改于: 2022-03-11 14:52:05.696000             🧑  作者: Mango

代码示例7
try {
      FileWriter writer = new FileWriter(path);
      String[] allData = {"an","example","array"};
      String rowInfo = String.join(",", allData); // return "an,example,array"
      writer.append(rowInfo);
} catch (IOException e) {
      e.printStackTrace();
    }