下列程序的输出结果为( )。 public class Test { public static void main (String[] args) { int i,j,k,a=3,b=2 i=(--a==b++)? --a:++b j=a++ k=b System. out. println('i='+i+' ,j =' +j+',k ='+k) } }
A.
i=2, j=1, k=3
B.
i=1, j=1, k=2
C.
i=4, j=2, k=4
D.
i=1, j=1, k=3
手机使用
分享
复制链接
新浪微博
分享QQ
微信扫一扫
微信内点击右上角“…”即可分享
反馈
参考答案:
举一反三
【简答题】完形填空,从A、B、C三个选项中选出能填入空白处的最佳答案。 He who has never been to the Great Wall is not a true man. The US President Barack Obama is a 1 man. Obama had a 2 days' visit to China from 15th to18th November, 2009....
【简答题】阅读理解 It happened to me recently that I was telling someone how much I had enjoyed reading Barack Obama's Dreams from My Father and how it had changed my views of the current US president. The person I...
【单选题】C It happened to me recently. I was telling someone how much I had enjoyed reading Barack Obama’s Dreams From My Father and how it had changed my views of our President. A friend I was talking to agre...
【简答题】JAKARTA, INDONESIA - Walking with long steps and his smile lighting up a rainy afternoon, Barack Obama seems to have arrived to visit a school he attended as a boy. But wait. He's not real Obama. The ...
【简答题】根据短文内容,判断以下句子的正误。你认为正确的句子请在答题卡的相应位置上涂( T ).错误的涂( F ). The US President You may know that President(总统) Obama is very busy, but he has time to go to the school to visit students. He tells them about hi...