èæ¯Java8ã«ã¦ãã¤ã³ã¿ã¼ãã§ã¼ã¹ã«defaultã¡ã½ããï¼ã¡ã½ããå®ç¾©ã¨å®è£ ï¼ãå®ç¾©ã§ããããã«ãªãã¾ããã ãããããã®å®è£ ã«ããã¦Objectã¯ã©ã¹ãæã£ã¦ããã¡ã½ããï¼toString()ã¨ãequals()ã¨ãï¼ã¯ãã¤ã³ã¿ã¼ãã§ã¼ã¹å ã§defaultå®è£ ã¨ãã¦å®ç¾©ã§ããªãããã«ãªã£ã¦ãã¾ããï¼ã³ã³ãã¤ã«ã¨ã©ã¼ãA default method cannot override a method from java.lang.Objectãï¼ ããªãã§ããªãï½ãã¨æã£ã¦ã¡ãã£ã¨èª¿ã¹ã¦ã¿ããã以ä¸ã®è¨äºãè¦ã¤ãã¾ããã ã¡ãã£ã¨è¦ç´ã¡ãã£ã¨è¦ç´ãã¦ã¿ã¾ãã ï¼èªåã®è§£éãä¸é¨å ¥ãã¦ãã¾ãã ï¼è±èªã«ä¸èªç±ã®ãªãæ¹ã¯ä¸è¨ãè¦ã¦ããããã°ãããã¨æãã¾ãã ï¼è³ªåè ï¼ defaultã¡ã½ããã¯ãJavaã®ä¸ã§æ°ããè¯ããã¼ã«ã ã ããããç§ãã¤ã³ã¿ã¼ãã§ã¼ã¹ã«toString()ã®def
{{#tags}}- {{label}}
{{/tags}}