I\'m learning Java, coming from C and I found an interesting difference between languages with the boolean type. In C there is no bool/ean
boolean
bool
ean
FROM JLS:
The boolean type has two values, represented by the boolean literals true and false, formed from ASCII letters.
Thus no is the answer. the only was is
if ( i != 0 )