皮皮学,免费搜题
登录
搜题
【多选题】
下面关于when/else与switch/case的区别中,哪一个是错误的:
A.
switch被when取代。
B.
判断语句“case 常量值:”被新语句“常量值 ->”取代。
C.
每个分支后面的break语句取消了,因为Kotlin默认一个分支处理完就直接跳出多路语句,所以不再需要break。
D.
default被else取代。跟优化后的if/else一样,Kotlin中的when/else也允许有返回值。
拍照语音搜题,微信中搜索"皮皮学"使用
参考答案:
参考解析:
知识点:
.
..
皮皮学刷刷变学霸
举一反三
【单选题】Was steht im Text über Helene Fischer?
A.
Helene Fischer ist nicht nur in der Schlager-, sondern auch in der Pop-Welt zu Hause.
B.
Helene Fischers Musik wird von vielen Menschen gekauft.
C.
Helene Fischer singt seit ihrer Kindheit.
【单选题】5 3. The sentence "They are free to listen to and live by their circadian rhythms." ( Line 3, Paragraph 4 ) probably means ____
A.
they can lead their daily lives according to their biological clocks, without referring to a man-made clock.
B.
they can listen to the wonderful rhythms of the biological clock and live close to them.
C.
they can live by regulating their own circadian rhythms.
D.
they are free from the annoying rhythms of everyday life
【单选题】Von Kindheit ___________ hat er immer gern gesungen.
A.
am
B.
an
C.
um
D.
vor
【单选题】Morphemes like "friend", "boy", "girl" are _____ morphemes, because they can be used on their own.
A.
free
B.
bound
【单选题】某步进电动机的工作方式为三相单双六拍,转子是4个均匀分布的齿,没有绕组,其步距角为()度。
A.
10
B.
15
C.
20
D.
30
【判断题】世界上最古老的运河是京杭大运河。
A.
正确
B.
错误
【单选题】"They are their own business" in paragraph 4 most probably means________.
A.
one may put his own interest before that of teh company's
B.
one is reponsible for his own career
C.
one should always keep the ambition of opening his own business
D.
an employee should always ask for comensation from the employer
【单选题】根据法律法规的效力等级和内容重要程度的不同,教育法规可分为
A.
实体法和程序法
B.
成文法和不成文法
C.
根本法和普通法
D.
一般法和特殊法
【单选题】"Family" is of course an elastic word. But when British people say that their society is based on family life, they are thinking of "family" in its narrow, peculiarly European sense of mother, father ...
A.
by the couple
B.
with the help of their parents
C.
by brothers and sisters
D.
with the help of aunts and uncles
【单选题】They grow all their own vegetables, they raise their own chickens, and they have a goat! They are self-sufficient, so they don’t need to buy food.
A.
independent
B.
helpless
相关题目: