试题详情
多项选择题 10. public class MyClass {  11.  12. public Integer startingI;  13. public void methodA() {  14. Integer i = new Integer(25);  15. startingI = i;  16. methodB(i);  17. }  18. private void methodB(Integer i2) {  19. i2 = i2.intValue();  20.  21. }  22. }  If methodA is invoked, which two are true at line 20?()

A、 i2 == startingI returns true.

B、 i2 == startingI returns false.

C、 i2.equals(startingI) returns true.

D、 i2.equals(startingI) returns false.

  • B,C
  • 关注下方微信公众号,在线模考后查看

热门试题