多选题 Given the following Java code segment, what will be printed, considering the usage of the modulus operators?
System.out.print(49 % 26 % 5 % 1);
  • A. 23
  • B. 3
  • C. 1
  • D. 0
【正确答案】 D
【答案解析】49/26的余数是23。23/5的余数是3。3/1的余数是0。答案是0。A、B和C不是正确答案,理由如正确答案的解释。