Java: Casting from List to List when B implements A?

后端 未结 7 957
时光说笑
时光说笑 2020-11-29 13:01

I have the following class & interface defined:

public interface A {
}

public class B implements A {
}

I have a List of <

7条回答
提交回复
热议问题