...
int three = 0 ;
System.out.println("three = one + two ==> "+(three=one+two));
System.out.println("three += one ==> "+(three+=one));
System.out.println("three -= one ==> "+(three-=one));
System.out.println("three *= one ==> "+(three*=one));
我看有人這樣寫也算正確嗎
2016-07-16
只能說可以運(yùn)行,但并沒有什么用。一旦要編程的東西過多,這樣保準(zhǔn)會出問題,畢竟你不可能算出所有的數(shù)
2016-07-16
這樣做寫的代碼完全沒起任何作用,直接把數(shù)字都輸出了,就沒有意義了
2016-07-16
能編譯正確,但是這道題聯(lián)系你如何使用運(yùn)算的,你這樣機(jī)械的寫沒有學(xué)到任何東西啊????~