hc学习平台

 找回密码
 立即注册
搜索
热搜: 活动 交友 javakc
 › liyuan › 日志

Which range of x value would print the string "second"(中科软面试题5分)  

2022-08-06 22:16:20 查看(2) 回复(0)

if(x>0){
	System.out.println("first");
}else if(x>-3){
	System.out.println("second");
}else{
	System.out.println("third");
}

Which range of x value would print the string "second"?

A. x>0

B. x>-3

C. x<=-3

D. x<=0 & x>-3

 

D

评论 (0 个评论)

facelist

全部作者的其他最新日志



站点统计|举报|Archiver|手机版|小黑屋|Comsenz Inc.

GMT+8, , Processed in 0.195171 second(s), 9 queries .

Powered by javakc! X1.0

© 2004-2014 javakc

f1208.com 备案号:京ICP备14030918号-1

返回顶部