初始实现接口时,语句下面会出现一行提示:
Class ‘AList’ must either be declared abstract or implement abstract method ‘add(T)’ in ‘ListInterface’
原因是未实现接口声明的(所有)方法。
解决方法:参考这篇
初始实现接口时,语句下面会出现一行提示:
Class ‘AList’ must either be declared abstract or implement abstract method ‘add(T)’ in ‘ListInterface’
原因是未实现接口声明的(所有)方法。
解决方法:参考这篇