Java随笔

  • null instanceof x 结果是false

  • (int) 0.5 * 2 的结果是多少呢?是0。会先把0.5转换成int,再进行乘法计算,这个需要注意。

你可能感兴趣的:(Java随笔)