java – 如何将Generic方法中的参数同时分配给Integer和Character类?

java – 如何将Generic方法中的参数同时分配给Integer和Character类?

为什么这段代码没有显示任何编译错误? public class Generic{ public static void main(String[] args) { Character[] arr3={a,b,c,d,e,f,g}; Integer a=97; System.out.println(Non_

联系我们

联系我们

0577-28828765

在线咨询: QQ交谈

邮箱: xwei067@foxmail.com

工作时间:周一至周五,9:00-17:30,节假日休息

返回顶部