• 2022-07-23
    假设ArrayListlist包含{“red”,“red”,“green”}。以下代码执行后的list是什么?Stringelement="red";for(inti=0;iA: {"red","red","green"}
    B: {"red","green"}
    C: {"green"}
    D: {}