refactor
This commit is contained in:
1 parent
062beda77e
commit
b0055a87bd
25 files changed
+40
-93
No files matched your search
Vendored
-18
@@ -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"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,3 +1,5 @@
|
||||
package shopping;
|
||||
|
||||
public class Cashier {
|
||||
private String strName;
|
||||
private float fMoney;
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
package shopping;
|
||||
|
||||
public class Customer {
|
||||
private String strName;
|
||||
private float fMoney;
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
package shopping;
|
||||
|
||||
public class Good {
|
||||
private String strName;
|
||||
private float fPrice;
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
package shopping;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
package shopping;
|
||||
|
||||
public class Test {
|
||||
public static void main(String[] args) {
|
||||
Customer cs = new Customer("zhang", 2000);
|
||||
|
||||
Reference in new issue
Block a user