Programming for Kids - ZedLX

The Easiest Way to Learn Computer Programming

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...