1.publicclassTest{2.publicTfindLarger(Tx,Ty){3.if(x.compareTo(y)>0){4.returnx;5.}else{6.returny;7.}8.}9.}and:22.Testt=newTest();23.//insertcodehereWhichtwowillcompilewithouterrorswheninsertedatline23?()
A、Objectx=t.findLarger(123,“456”);
B、intx=t.findLarger(123,newDouble(456));
C、intx=t.findLarger(123,newInteger(456));
D、intx=(int)t.findLarger(newDouble(123),newDouble(456));