Question : java cast bolean to int
Answered by : better-beetle-7zubxn11682l
int result = myBooleanVar ? 1 : 0;
Source : | Last Update : Thu, 12 Nov 20
Answered by : better-beetle-7zubxn11682l
int result = myBooleanVar ? 1 : 0;
Source : | Last Update : Thu, 12 Nov 20