true

The true keyword can be used as one of the two possible boolean values. Strictly speaking, true is not a keyword of the Java language; rather, it is a literal value that is assigned to a variable of type boolean.

For an example of how the true keyword can be used, see the keyword boolean.