ããã«ãåã åã®ç¶ãã§ãã»ã»ã» ç°¡åãªæ¤è¨¼ã¯ã©ã¹ãããã¦ãåé¡ã®ãã¿ã¼ã³ãå®é¨ãã¦ã¿ãã AbsClass.java abstract class AbsClass<T> { public void message(T mes) { System.out.println("Hello " + mes + "!!"); } public void hello() { System.out.println("Hello!!"); } } ChildClass.java public class ChildClass extends AbsClass<String> {} ã¾ãã¯ã³ã³ãã¤ã«ãã¦ã»ã»ã» $javac AbsClass.java $javac ChildClass.java ã§ãã£ã¦ãå®é¨ãã¦ã¿ãã¨ã»ã»ã» user=> (import ChildClass) ChildClass u
{{#tags}}- {{label}}
{{/tags}}