Learn Programming - ZedLX

A Free Computer Programming Tutorial for Beginners

The Type color [1/10]

The Type color

The type color represents colors.

In this example, variables myColor1 and myColor2 are of type color.

Values of variables myColor1 and myColor2 are given by named initializers. Named initializers begin with a slash character (/).

Loading...