Changes between Version 22 and Version 23 of ControlSystems/SoftwareTeam/Training/GettingStarted/JavaExercises


Ignore:
Timestamp:
Nov 17, 2016, 6:20:48 PM (9 years ago)
Author:
azhang
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ControlSystems/SoftwareTeam/Training/GettingStarted/JavaExercises

    v22 v23  
    118118  * Warning: Clearing a List is not the same as setting it to null.
    119119
     120=== Final Step: Double Check
     121Double check all your code to make sure it makes sense. Edit anything you need. For example...
     122* Animals can eat themselves
     123* Animals that have been eaten still count as part of the population
     124
    120125=== Review: Deck of Cards (Enums, Lists)
    121126Create a Deck of Cards. Each Card has a value Ace through King, and a suit. You can draw cards from the top of the deck, do a perfect riffle shuffle (split the deck in half and alternate cards) of the deck, and print out all the cards in the deck. Overriding the `toString` method will be very helpful.