Programming Course for Beginners - ZedLX

The Easiest Online Computer Programming Course, for Free

The Type bool [5/9]

Operator and returns true only when both of its operands are true.

* * *

-- The Importance of Types --

The notion of types in programming languages allows for manipulating various kinds of values besides numbers. The type bool can be used to express truth values true and false. The type color allows for manipulating colors. There are many other types for representing various values, for example types for strings, positions, motions, images, input events, and there are also parametric types, user-defined types and various kinds of abstract types.

Types are a crucial aspect of programming languages. Types describe data.

Loading...