Topic: 多個 java 問題??

  Print this page

1.多個 java 問題?? Copy to clipboard
Posted by: angus203
Posted on: 2005-11-04 20:44

1. >>= 這是什麼意思?怎樣應用??

2.
int reply = JOptionPane.showConfirmDialog(null,
"Do you want to play the GUESS SECRET NUMBER game?",
"Confirmation", JOptionPane.YES_NO_OPTION);
.
.
.
請問可否用 return 返回這一步?? (不用while loop 方法)

2.Re:多個 java 問題?? [Re: angus203] Copy to clipboard
Posted by: lfcjecboss
Posted on: 2005-11-14 15:28

1.>>=是右移赋值语句,和 i+=3 类似

3.Re:多個 java 問題?? [Re: angus203] Copy to clipboard
Posted by: lfcjecboss
Posted on: 2005-11-14 15:38

如 int a=35(00100011); a>>=2;
a= 8 (00001000)


   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1
客服电话 18559299278    客服信箱 714923@qq.com    客服QQ 714923