Java2 SE 5.0ãããåºæ¬åã¨ã©ããã¯ã©ã¹ã®ç¸äºå¤æãèªåçã«ãã£ã¦ãããããã«ãªãã¾ããã ã¤ã¾ã Integer a = 5; System.out.println(a * 10); ãªã©ã¨ãã㨠Integer a = Integer.valueOf(5); System.out.println(a.intValue() * 10); ã®ããã«å¤æãã¦ããã¾ãã ããããã¨ãé常ã©ããã¯ã©ã¹ã使ãå ´é¢ã¯ãã¸ã§ããªã¯ã¹ã§ã®åæå®ã¨Objectã¸ã®ãã£ã¹ãã ãã«ãªãã¾ãã ã¨ãã㧠Integer a = 5; Integer b = 5; System.out.println(a == b); ã¯ã©ããªããã¨ããã¨ãããã¯trueã«ãªãã¾ãã ã¨ããã Integer a = 130; Integer b = 130; System.out.println(a == b); ã®
{{#tags}}- {{label}}
{{/tags}}