Java Cast Bolean To Int

[Solved] Java Cast Bolean To Int | Scala - Code Explorer | yomemimo.com
Question : java cast bolean to int

Answered by : better-beetle-7zubxn11682l

int result = myBooleanVar ? 1 : 0;

Source : | Last Update : Thu, 12 Nov 20

Answers related to java cast bolean to int

Code Explorer Popular Question For Scala