Given:11.//insertcodehere12.&e

题目
Given:11.//insertcodehere12.&e

Given:

11.//insertcodehere

12.privateNmin,max;

13.publicNgetMin(){returnmin;}

14.publicNgetMax(){returnmax;}

15.publicvoidadd(Nadded){

16.if(min==null||added.doubleValue()<min.doubleValue())

17.min=added;

18.if(max==null||added.doubleValue()>max.doubleValue())

19.max=added;

20.}

21.}

Whichtwo,insertedatline11,willallowthecodetocompile?()

更多“Given:11.//insertcodehere12.&e ”相关问题