1234567891011121314151617181920212223 |
-
- /**
- * Created by leon on 1/10/18.
- */
- //creates the inventory
- public class MainApplication {
-
- public static void main(String[] args){
- Inventory myInventory = new Inventory();
-
- Product product = new Product(86, "Herbal Tea", 1.6, 2);
- Product product2 = new Product(87, "Black Tea", 2.0, 2);
- Product product3 = new Product(88, "Green Tea", 3.5, 6);
-
- myInventory.add(product);
- myInventory.add(product2);
- myInventory.add(product3);
-
- System.out.println(myInventory.size());
- }
-
- }
|