Given: https://assets.asklib.com/images/image2/2018080115545457907.png 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;

时间:2022-10-24 20:40:39 所属题库:OCJP(310-065)题库

相似题目