/Users/johnr/Desktop/IA_14_-_Stage_P_Upload_all_2021-04-08/CS IA Shoe Reselling Aryan April 6th /src/Test.java
 1 
 2 import java.io.File;
 3 import java.io.IOException;
 4 
 5 
 6 
 7 /*
 8  * To change this license header, choose License Headers in Project Properties.
 9  * To change this template file, choose Tools | Templates
10  * and open the template in the editor.
11  */
12 
13 /**
14  *
15  * @author 19808
16  */
17 public class Test {
18     public static void main(String [] args) throws IOException{
19         //Shoes newShoe = new Shoes("Jordans", 12.5, 390, 420, 30, 12, 2002, 30, 12, 2002, new Collaboration("Michael Jordan", "Air Jordans"), "Nike", new Profitability());
20         File f = new File("inventory");
21         for(File fi: f.listFiles()) {
22             System.out.println(fi.getName());
23         }
24         System.out.println(f.listFiles().length);
25     }
26             
27 }
28