问题详情

下面程序片段输出的是( )。int i = 0, j = 9; do { if(i++ > --j) break; } while(i < 4); System.out.println("i = " + i + " and j = " + j);


A、i = 4 and j = 4

B、i = 5 and j = 5

C、i = 5 and j = 4

D、i = 4 and j = 5

时间:2021-07-17 17:50 关键词:

答案解析

D