多做题,通过考试没问题!

Oracle认证考试

睦霖题库>其他计算机考试>Oracle认证考试

Given: Which change can you make to Target without affecting Client?()

  • A、Line 4 of class Target can be changed to return i++;
  • B、Line 2 of class Target can be changed to private int i = 1;
  • C、Line 3 of class Target can be changed to private int addOne(){
  • D、Line 2 of class Target can be changed to private Integer i = 0;
正确答案:D
答案解析:
进入题库查看解析

微信扫一扫手机做题