A.Cat is-a Animal
B.Cat is-a Jumper
C.Dog is-a Animal
D.Dog is-a Jumper
E.Cat has-a Animal
F.Beagle has-a Tail
G.Beagle has-a Jumper
第1题:
A.Thecodedoesnotcompile.
B.Thecoderunsandnochangeismadetothefile.
C.Thecoderunsandsetsthelengthofthefileto0.
D.Anexceptionisthrownbecausethefileisnotclosed.
E.Thecoderunsanddeletesthefilefromthefilesystem.
第2题:
以下对枚举类型名的定义中正确的是______。
A.enum a={one,two,three};
B.enum a{one=9,two=-1,three};
C.enum a={"one","two","three"};
D.enum a{"one","two","three"};
第3题:
以下对枚举类型名的定义中正确的是 ( )
A.enuma={one,two,three};
B.enuma{one=9,two=-1,three};
C.enum a={"one" "two","three"};
D.enum a{"one","two","three"};
第4题:
A.Compilationfails.
B.Afterline15,thevalueofageis5.
C.Afterline15,thevalueofageis3.
D.Anexceptionisthrownatruntime.
第5题:
以下对枚举类型名的定义中正确的是______。
A.enum a={one, two,three};
B.enum a{one=9,two=1,three};
C.enum a={"one","two","three"};
D.enum a{"one", "two","three"};
第6题:
Despite the wonderful acting and well-developed plot the _________ movie could not hold our attention.
A) three-hours B) three-hour
C) three-hours’ D) three-hour’s
选B
用破折号连接的作形容词不用复数.