SHOW:
|
|
- or go back to the newest paste.
1 | import java.util.*; | |
2 | import java.util.LinkedList; | |
3 | import java.util.Scanner; | |
4 | import java.util.concurrent.TimeUnit; | |
5 | ||
6 | ||
7 | public class Products { | |
8 | ||
9 | String name; | |
10 | double price; | |
11 | - | List<String> list |
11 | + | |
12 | - | List<Double> price |
12 | + | |
13 | public Products(String name, double price) { | |
14 | this.name = name; | |
15 | this.price = price; | |
16 | } | |
17 | ||
18 | ||
19 | - | public void gowno(){ |
19 | + | |
20 | - | System.out.println("lol"); |
20 | + | |
21 | ||
22 | ||
23 | - | static public void productsList() throws InterruptedException { |
23 | + | |
24 | ||
25 | ||
26 | - | int choice, count; |
26 | + |