Changes between Version 17 and Version 18 of ControlSystems/SoftwareTeam/Training/GettingStarted/JavaExercises


Ignore:
Timestamp:
Nov 15, 2016, 10:29:01 PM (9 years ago)
Author:
azhang
Comment:

Review

Legend:

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

    v17 v18  
    66  * Focus on fully understanding all the exercises you complete instead of trying to cover all the information
    77  * Feel free to mess around with the code to see what changes
     8  * If you still feel shaky about a topic after completing the exercise, try coming up with your own similar exercise and completing it without hints
     9    * Ex. If you feel shaky on `Animal Farm`, try creating a `Garden` without looking back at the exercise or your `Animal Farm` code.
    810
    911== Basic exercises:
     
    105107* A building must be able to `store` an object
    106108
    107 == Animal Farm step 6: Lists, Generics
     109== Animal Farm step 7: Lists, Generics
    108110* A `Farm implements Building`
    109111* A `Farm` has a `List` of `Animal`
     
    114116* When a `Farm` `collapse`, it's `List` of `Animal` is cleared.
    115117  * Warning: Clearing a List is not the same as setting it to null.
     118
     119== Review: Deck of Cards
     120Create 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.