String date="Today is Sunday.";String str2=data.CharAt(s.length( )-1);则str2为()
第1题:
“What _________ is today?” “It’s Sunday.”
A.date
B.wrong
C.weather
D.day
第2题:
下面的哪些程序段可能导致错误? ( ) Ⅰ: String s = "Gone with the wind"; String t = "good "; String k = s + t; Ⅱ: String s = "Gone with the wind"; String t; t = s[3] + "one"; Ⅲ: String s = "Gone with the wind"; String standard = s.toUpperCase(); Ⅳ: String s = "home directory"; String t = s-"directory":
A.Ⅱ、Ⅲ
B.Ⅱ、Ⅳ
C.Ⅰ、Ⅳ
D.Ⅲ、Ⅳ
第3题:
(A) What time is it?
(B) When is it?
(C) What’s the date today?
(D) What day is today?
正确答案:D
解答参考:D 本题考查 “今天是星期几”的问法,
第4题:
A.date-month-year
B.year-date-month
C.month-year-date
D.date-year-month
第5题:
A: What's the date today? B: It's April 1st.()
第6题:
下列程序的运行结果是( )。
#include<stdio.h>
main()
{stmct date
{int year,month,day;
}today;
primf("%d\n",sizeof(struct date));
}
A.8
B.6
C.10
D.12
第7题:
听力原文:M: Oh, my God! Jessica. It's five p. m. now. Tomorrow is Saturday. The credit will expire on Sunday. Weekend is non-business day. We cannot make it today. What shall we do?
W: Don't worry. Banks will accept presentation on the following business day.
Q: When will the bank deal with the credit if the expiry date of a credit fails on a non-business day?
(19)
A.On every business day.
B.On Tuesday.
C.On Wednesday.
D.On the following business day.
第8题:
A.It's a fine day
B. It's Friday
C. It's on Christmas Day
D. It's June 26th
第9题:
A、What time is it?几点钟了?
B、Hold on,please!请别挂断。
C、Today is March1st,2010.今天是2010年4月1号。
D、What’s the date today?今天是几号?
第10题:
在下面的代码段中填入一个适当的语句,表示从输入流中能读取对象。(注:FilelnputStream的形象为theTime)
FilelnputStreamin=______;
bjectlnputStreams=ObjectlnputStream(in);
Stringtoday=(String)s.readObject();
Datedata=(Date)S.readObject();