Main.java:13: error: B is not abstract and does not override abstract method m2() in A
static class B extends A {
^
Main.java:19: error: m2() in B cannot override m2() in A
List<List<?>> m2() {
^
return type List<List<?>> is not compatible with List<List>
2 errors