摘要: public class TestDouble { public static void main(String args[]) { System.out.println("0.05 + 0.01 = " + (0.05 + 0.01)); System.out.println("1.0 - 0.4 阅读全文
posted @ 2023-09-14 21:20 序章0 阅读(16) 评论(0) 推荐(0)
摘要: public class EnumTest { public static void main(String[] args) { Size s=Size.SMALL; Size t=Size.LARGE; //s和t引用同一个对象? System.out.println(s==t); // //是原 阅读全文
posted @ 2023-09-14 21:15 序章0 阅读(23) 评论(0) 推荐(0)