Casting instance that impement inheriting interfaces?

前端 未结 0 1085
予麋鹿
予麋鹿 2021-01-19 08:28

The setup I have is as follows:

public interface ISender {
  ...
}

public interface IPlayer extends ISender {
  ...
}

public class Sender implements ISender         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题