这听起来很容易,但是当我通过这段代码进行调试时,它只是停止调试,无法确定它是否抛出异常。我究竟做错了什么?
Writer output = null;
File file = new File("write.txt");
output = new BufferedWriter(new FileWriter(file));
for (int i = 0; i < audioDataDoubles.length; i++) {
output.write(audioDataDoubles[i] + "\n");
}
output.close();