正在加载图片...
Useful Shorthand Operators sum sum t numberi is equivalent to sum + number Operator Usage Meaning a+=b; a a t bi a a a b: 大 b a/=b a a/ b 8=b ao bi C 2000 McGraw-Hill troduction to Object-Oriented Programming with Java--Wu Chapter 7-12© 2000 McGraw-Hill Introduction to Object-Oriented Programming with Java--Wu Chapter 7 - 12 Useful Shorthand Operators sum = sum + number; is equivalent to sum += number; Operator Usage Meaning += a += b; a = a + b; -= a -= b; a = a – b; *= a *= b; a = a * b; /= a /= b; a = a / b; %= a %= b; a = a % b;
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有