Java - Explicit type conversions

By using an explicit conversion, you can specify exactly what type you want to work with. Thanks to this we can overwrite automatic conversion.
explicit conversion to boolean
( type ) expression

Java

Other pieces of example codes:
y = (short)(x * y)
y = (long)(x * y)
(float)x / 0xa
y =(double)(x * y)
 b3 = (boolean) 0
Languages: en hu cz sk