Created
April 8, 2017 08:59
-
-
Save kendhia/f80fdda0c496d6efa0d26fd85efe417a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Public void addToCart(Item i){ | |
if (SoppingCart == null) | |
ShoppingCart = new ArrayList<Item>(); | |
ShoppingCart.add(i) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment