• 2022-06-03 问题

    如下代码: 哪两个方法能加到Y类的定义中?() A: publicvoidaMethod(){} B: privatevoidaMethod(){} C: publicvoidaMethod(Strings){ D: privateYaMethod(){returnnull;} E: publicXaMethod(){returnnewY();}

    如下代码: 哪两个方法能加到Y类的定义中?() A: publicvoidaMethod(){} B: privatevoidaMethod(){} C: publicvoidaMethod(Strings){ D: privateYaMethod(){returnnull;} E: publicXaMethod(){returnnewY();}

  • 1