单项选择题

下列代码的执行结果是:( )
public class Test1
public static void mian(String args[])
float t=9.0f
int q=5;
System.out.println((t++)*(--q));

A.40
B.40.0
C.36
D.36.0
<上一题 目录 下一题>
热门 试题

单项选择题
执行下列程序,其输出为( )。 int Sum,j; Sum=0; j=0; do j++; for(int i=5:i>j;i--). Sum=Sum+(i+j); while(j<11=;
A.45
B.50
C.60
D.65
单项选择题
给出下列代码片段: if(x>0)System.out.println( first ); else if(x>-3)System.out.println( second ): elseSystem.out.println( third );请问x处于什么范围时将打印字符串 second ( )
A.x<3
B.x>0
C.x<=0且x>-3
D.x<=-3
相关试题
  • 下列语句输出结果为( )。 public clas...
  • 下列语句:a=10011101;b=101...
  • 用于显示整个报表的计算汇总或其他的统计数...
  • 设int型变量a、b,float型变量x、y,char型...
  • 在计算机系统中,控制和管理各种资源、有效...