Alright, I'll see what I can do. If I need any more help I'll come back to this thread. I appreciate it. I wasn't able to even think of the idea of an Map/List of objects until you helped me so...
Type: Posts; User: jmc117
Alright, I'll see what I can do. If I need any more help I'll come back to this thread. I appreciate it. I wasn't able to even think of the idea of an Map/List of objects until you helped me so...
by key. So going with your first advice, I create a class similar to this but with getters and setters and a constructor like
public class Product {
public Product(int id, String name, float...
For my project I in phase 1 we cannot use a database and I am having trouble figuring out what to do. the textfiles are like
ProductID1 ProductName1 Price1 Quantity1
ProductID2 ...