如下}}如下代码Aa=newA();System.out.println(a.method1(1));//1System.out.println(a.method1("hi"));//2Astr=newA();System.out.println(str.method1(1.1));//你应该选择多少个答案?A.编译错误//1B.编译错误//1和//2C。编译错误//1、//2和//3D。编译错误//3E。1-1hi-<哈希码值>1.1--<哈希码值>F。运行时抛出异常
你真的懂java吗?-每日一题:Generic相关文章