Overloading method with inheret types

前端 未结 0 824
庸人自扰
庸人自扰 2021-02-12 16:13
public class MySmokeTest {

    public static void main(String[] args) {
        Number x = Integer.valueOf(2);
        new MySmokeTest().met(x);
    }

    private void         


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