Java程序辅导

C C++ Java Python Processing编程在线培训 程序编写 软件开发 视频讲解

客服在线QQ:2653320439 微信:ittutor Email:itutor@qq.com
wx: cjtutor
QQ: 2653320439
/** * Express3.java provides a 'laboratory' for exploring Java expressions. * **********************************************************************/ public class Express3{ public static void main(String[] args) { int w, x, y, z; w = 1; x = 2; y = 4; z = 8; w = x = y = z; System.out.print("Verify Assignment Associativity of "); System.out.println("the expression: w = x = y = z"); System.out.printf( "w = %d, x = %d, y = %d z = %d\n", w, x, y, z); } }