ConvertDataTypes.comConvert data types programming in one click !

Convert boolean to int in Java

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