如果 int 係 16-bit, 即係最大為65535
但係我試過..
int i=4294967295;
String n = Integer.toBinaryString(i);
System.out.println(n.length());
System.out.println(n);
佢沒有error, 仲出到answer.
有沒有人知道呀????
thanks
收錄日期: 2021-04-13 15:57:19
原文連結 [永久失效]:
https://hk.answers.yahoo.com/question/index?qid=20070618000051KK00087