ConvertDataTypes.comConvert data types programming in one click !

Convert boolean to char in Java

    17959 hits
  • boolean vIn = true;
  • char vOut = (char)(vIn?1:0); //0x01