This repository has been archived on 2026-10-15. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
2024-06-13 08:40:42 -07:00

17 lines
284 B
Java

public class Salad {
String name;
double price;
public Salad(String name, double price) {
this.name = name;
this.price = price;
}
String getName() {
return name;
}
double getPrice() {
return price;
}
}