63

java小知识点-10962685-51CTO博客

 6 years ago
source link: http://blog.51cto.com/10972685/2068805
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client
1.java1/0运行结果抛异常,1/0.0结果是infinity(无穷大)2.a%d定义为(a/b)b+a%d=a(a/b的商会向0取整)因此-14%3=-2;而14%-3=23.&,|,^表示整数按位,与,或,异或。4.一个静态方法不能将另一个静态方法作为参数5.System.out.println(2.0e-6100000000.1);//200.00000026.System.ou

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK