格林模拟试题一(上)(8)
百度广告
question 24)
1) system.out.println(math.floor(-4.7));
3) system.out.println(math.ceil(-4.7));
question 25)
long nine=new long (9);
int i=1;
1) 19 followed by 20
3) compile time error
question 26)
int ibegin=1;
system.out.println(s.substring(ibegin,iend));
string s3=new string();
1) system.out.println(math.floor(-4.7));
3) system.out.println(math.ceil(-4.7));
question 25)
long nine=new long (9);
int i=1;
1) 19 followed by 20
3) compile time error
question 26)
int ibegin=1;
system.out.println(s.substring(ibegin,iend));
1) bic
3) icy
if you wanted to find out where the position of the letter v (ie return 2) in the string s containing "java",which of the following could you use?
1) mid(2,s);
3) s.indexof('v');
question 28)
given the following declarations
string s1=new string("hello")string s3=new string();
which of the following are legal operations?
1) s3=s1 + s2;
3) s3=s1 & s2;
编辑推荐:
下载Word文档
温馨提示:因考试政策、内容不断变化与调整,长理培训网站提供的以上信息仅供参考,如有异议,请考生以权威部门公布的内容为准! (责任编辑:长理培训)
点击加载更多评论>>