12 lines
237 B
Java
12 lines
237 B
Java
import java.util.ArrayList;
|
|
|
|
class TestSubTypless {
|
|
m(a){
|
|
var l = new ArrayList<>();
|
|
l.add(a);
|
|
return m2(l).get(0);
|
|
}
|
|
m2(a){
|
|
return m(a);
|
|
}
|
|
} |