/** * This is the main method that creates instances of the Cookie class, then calls the methods of the cookie class. * * @author Hunter Lloyd * @version 1.0 */ public class Driver { public static void main (String [] args) { Cookie c1 = new Cookie(5); Cookie c2; c2 = new Cookie(3); int answer = c1.returnChips(); System.out.println(answer); System.out.println(c2.returnChips()); } }