单选题

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

ALine 4 of class Target can be changed to return i++;

BLine 2 of class Target can be changed to private int i = 1;

CLine 3 of class Target can be changed to private int addOne(){

DLine 2 of class Target can be changed to private Integer i = 0;

正确答案

来源:www.examk.com

答案解析

相似试题
  • Given: Which statement is true?()

    单选题查看答案

  • Given: Which is true?()

    单选题查看答案

  • Given: Which three are true?()

    多选题查看答案

  • Given: Which statement is true?()

    单选题查看答案

  • Given: Which statement is true?()

    单选题查看答案

  • Given: Which statement is true?()

    单选题查看答案

  • Given: Which statement is true?()

    单选题查看答案

  • Given: Which statement is true?()

    单选题查看答案

  • Given: Which two are true?()

    多选题查看答案

  • Given: Which statement is true?()

    单选题查看答案