previous | start | next

Answers

  1. The first definition is used inside a method, the second inside a class
  2. (1) You should use a named constant, not the "magic number" 3.14
    (2) 3.14 is not an accurate representation of π


previous | start | next