把test.java救回来了

This commit is contained in:
2024-06-11 01:53:01 +08:00
parent d085000064
commit d753356d40
54 changed files with 1309 additions and 1297 deletions
+12 -12
View File
@@ -1,12 +1,12 @@
//test.java
package test4;
import java.util.Scanner;
public class test {
public static void main(String[] args) {
Scanner input = new Scanner(System.in);
Yard y1 = new Yard(input.nextDouble(), input.nextDouble());
System.err.println(y1.getPerimeter()+" "+y1.getAcreage());
}
}
//test.java
package test4;
import java.util.Scanner;
public class test {
public static void main(String[] args) {
Scanner input = new Scanner(System.in);
Yard y1 = new Yard(input.nextDouble(), input.nextDouble());
System.err.println(y1.getPerimeter()+" "+y1.getAcreage());
}
}