| 1 | //Using Priority Queues |
| 2 | |
| 3 | class Product { |
| 4 | Integer price; |
| 5 | String name; |
| 6 | |
| 7 | Product(Integer price, String name) { |
| 8 | this.price = price; |
| 9 | this.name = name; |
| 10 | } |
| 11 | } |
| 12 | |
| 13 | public class EconomyMart { |
| 14 | public static void main(String[] args) { |
nothing calls this directly
no outgoing calls
no test coverage detected