Java API中listfiles相关命令不能使用
问题描述:
连接成功,但是File.getPath()命令不出结果
答
他返回的是字符串,你要么用变量接收,打印变量,要不直接打印System.out.println(File.getPath()); 没有看到你的代码,不知道你是怎么写的