Changes between Version 6 and Version 7 of ControlSystems/SoftwareTeam/Training/GettingStarted/JavaExercises


Ignore:
Timestamp:
Nov 14, 2016, 8:11:58 PM (9 years ago)
Author:
azhang
Comment:

--

Legend:

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

    v6 v7  
    3939
    4040You will probably get weird numbers like 15.200000000001. This is imprecision with floating point numbers, and is normal
     41
     42
     43Animal Farm step 2:
     44* All `Animal` can also be created with only a `mass`.
     45* If an `Animal` is created without a `name`, it's name is set to `Steve` by default.
     46* All `Animal` now also have a `setName` method which sets their `name`.
     47* All `Animal` can `printInformation`, which prints information on the specific animal.
     48  * Ex. `Spot is a Dog with a mass of 15.4`