Class SodaCan

java.lang.Object
SodaCan

public class SodaCan extends Object
Capture a Can of Soda. A Can of Soda has a type, amount (initially 250) and is initially closed. Once opened, you can sip (take at most 10) or gulp (take at most 50) from the can. Obviously, at all times, the amount of soda in the can is between 0 and 250. An opened can can not be closed.