Javaã®ã¯ã©ã¹å®£è¨ã«ã¯5種é¡ããã ãããã¬ãã«ã¯ã©ã¹ã»ãã¹ãããã¯ã©ã¹ã»å é¨ã¯ã©ã¹ã»ãã¼ã«ã«å é¨ã¯ã©ã¹ã»å¿åã¯ã©ã¹(ç¡åã¯ã©ã¹ã¨ãè¨ããã)ã®5種é¡ã ã ä»åã¯ãã®5種é¡ã®ã¯ã©ã¹å®£è¨ã®ããããã ãããã¬ãã«ã¯ã©ã¹ ããã¯æ®æ®µä½¿ã£ã¦ããã¯ã©ã¹ãæ¡å¼µåã.javaã®ãã¡ã¤ã«ãä½ãããã®ãã¡ã¤ã«åã¨ã¯ã©ã¹åãåè´ãããªãã¦ã¯ãããªãããã®javaãã¡ã¤ã«ã®ãããã¬ãã«ã«ä½ç½®ããã ãã¹ãããã¯ã©ã¹ ããã¹ãããã¯ã©ã¹ã(Nested class)ã¨ã¯ã¯ã©ã¹ã®ä¸ã«ã¯ã©ã¹ããã¹ããã¦ããç¶æ ããããã¬ãã«ã¯ã©ã¹ã®å å´ã«staticãã¼ã¯ã¼ããã¤ãã¦ã¯ã©ã¹å®£è¨ãè¡ãã public class Outer { public static class Nested { } } ãã®ãã¹ãããã¯ã©ã¹ã¯ããããã¬ãã«ã¯ã©ã¹ã¨åçã®æ©è½æ§ãæã¤ã ã¯ã©ã¹åã¯Outer.Nestedã¨ããååã§æ±ãããã
{{#tags}}- {{label}}
{{/tags}}