Examples of multiple variable declarations:int myAge = 25; int yourAge = 19;int myAge = 25, your Age = 19;Declarations of variables of the same type can be separated by commas. However, separate statements are used when declaring variables of different typesint myAge, yourAge; double mySalary, yourSalary;
đang được dịch, vui lòng đợi..
