public class GumballMachine extends java.lang.Object
Constructor and Description |
---|
GumballMachine(int count) |
Modifier and Type | Method and Description |
---|---|
void |
dispense() |
void |
ejectQuarter() |
void |
insertQuarter() |
void |
refill(int numGumBalls) |
java.lang.String |
toString() |
void |
turnCrank() |
public GumballMachine(int count)
public void insertQuarter()
public void ejectQuarter()
public void turnCrank()
public void dispense()
public void refill(int numGumBalls)
public java.lang.String toString()
toString
in class java.lang.Object