The angle and distance variables

Listing 2 also declares and initializes two instance variables named

(Note that these two variables would be automatically initialized to zero if I didn't initialize them, but I prefer to initialize them explicitly in order to make the code more self-documenting.)

File: az.htm [Next] [Prev]