Nope. Remember, the class is named Color, and the method is also named Color. That means we have a Java "Constructor".

You may go back to the question

You may also:

NEXT     Skip to the next section.

OUTLINE  Go up to the outline of lesson 16

David A. Wheeler (dwheeler@dwheeler.com)

The master copy of this file is at "http://www.adahome.com/Tutorials/Lovelace/s16s6r1.htm".