Add files via upload

This commit is contained in:
Aesthetiful authored and GitHub committed 2024-04-01 12:45:43 -07:00
1 parent a09f45a2a4
commit 49c6374d74
1 file changed
+17
+17
View File
@@ -0,0 +1,17 @@
public class Sandwich {
String name;
double price;
public Sandwich(String name, double price) {
this.name = name;
this.price = price;
}
String getName() {
return name;
}
double getPrice() {
return price;
}
}