This commit is contained in:
xixu-me committed 2024-03-30 16:39:21 +08:00
1 parent 062beda77e
commit b0055a87bd
25 files changed
+40 -93

No files matched your search

-18
View File
@@ -1,18 +0,0 @@
{
"version": "0.2.0",
"configurations": [
{
"type": "java",
"name": "Current File",
"request": "launch",
"mainClass": "${file}"
},
{
"type": "java",
"name": "Test",
"request": "launch",
"mainClass": "Test",
"projectName": "Shopping"
}
]
}
+2
View File
@@ -1,3 +1,5 @@
package shopping;
public class Cashier {
private String strName;
private float fMoney;
+2
View File
@@ -1,3 +1,5 @@
package shopping;
public class Customer {
private String strName;
private float fMoney;
+2
View File
@@ -1,3 +1,5 @@
package shopping;
public class Good {
private String strName;
private float fPrice;
+2
View File
@@ -1,3 +1,5 @@
package shopping;
import java.util.ArrayList;
import java.util.List;
+2
View File
@@ -1,3 +1,5 @@
package shopping;
public class Test {
public static void main(String[] args) {
Customer cs = new Customer("zhang", 2000);