Working on a project for my class and spent too long searching around on the internet trying to find the right answer...

Basically its a simple vending machine program using a hashmap.

So i got this so far...

Code:
public void runSimulator()
	{
		SoftDrink softdrink1 = new SoftDrink("A1","Coke",1.25);
		SoftDrink softdrink2 = new SoftDrink("A2","Pepsi",1.25);
...