ConvertDataTypes.comConvert data types programming in one click !

Convert boolean to int in Java

    22967 hits
  • boolean vIn = true;
  • int vOut = vIn?1:0;