0_0_13636688_9639\Main.java:11: 错误: 已在方法 main(String[])中定义了变量 sum double sum=(((x2-x1)*(x2-x1))+((y2-y1)*(y2-y1))); ^ 0_0_13636688_9639\Main.java:12: 错误: 已在方法 main(String[])中定义了变量 a double a=Math.sqrt(sum); ^ 2 个错误