{下面程序的编译运行结果是( )class GeneralClass<T>{T data;GeneralClass(T data){this.data = data;}public <E> void show(E a,T b){System.out.print(a);System.out.print(b);}}public class Demo2015 {public static void main(String []args){GeneralClass sObj = new GeneralClass("hello");System.out.print(sObj.data);sObj.show(1,"2");}}}
A. 编译错误,因为sObj.show(1,"2");中两个实参的类型不一致
B. 编译错误,因为类型参数E和T代表的数据类型不一致
C. hello12
D. 编译错误,因为sObj.show(1,"2")中实参的类型与参数T指定的类型不一致