> 其他 >
若有定义:int a=7;float x=2.5,y=4.7;则表达式x+a%3*(int)(x+y)%2/4的值是
人气:470 ℃ 时间:2019-10-25 01:00:48
解答
public class T0609 {\x09public static void main(String args[]) {\x09\x09int a=7;\x09\x09float x=2.5f;\x09\x09float y=4.7f;\x09\x09System.out.println(x+a%3*(int)(x+y)%2/4);\x09}}2.5 说明:这个关键是优先...
推荐
猜你喜欢
© 2024 79432.Com All Rights Reserved.
电脑版|手机版