close

int i1 =0x2f   Hexadecimal

int i2 =0117  Octal

char c =0xffff   max char hex value

byte b = 0x7f  max byte hex value

short s = 0x7ffff  max short value

long n1 =200L (l)  long suffix

float f1 =1F(f)  float suffix

double d1 =1d double suffix

二進位表示法 toBinaryString() method來表示。

arrow
arrow
    全站熱搜
    創作者介紹
    創作者 yuchun0912 的頭像
    yuchun0912

    yuchun0912的部落格

    yuchun0912 發表在 痞客邦 留言(0) 人氣()