问题 单项选择题

设i,j为类X定义的double型变量名,下列X类的构造方法中不正确的是( )。

A. 使用归档文件的好处是减少HTTP的连接次数,从而大大减少了Applet整体的下载时间

B. 所有的浏览器都识别相同的归档文件格式和指定归档文件的HTML代码

C. 归档文件是一种压缩文件,使用它也减少了文件的传输时间

D. 使用JDK的jar工具创建JAR文件

答案

参考答案:B

解析:getCoddeBase( )方法返回.class所在的网址URL;getParameter (String)方法返回HTML中设定的值;getApplnfo( )方法返回作者、版本、版权信息;show- Status(String)方法在浏览器的状态栏输出信息。

完形填空
I was feeling a little blue. My mother had been laid off from her job, but she said she was OK since her boss wasn't the nicest person   36   .
I got off the college bus and started walking. That's   37   I heard piano music and singing rising above the   38  of the people and the traffic. I walked a little slower   39  I could find out where it was coming from.   40  the crowd I saw a young lady sitting at a piano with a   41  next to her, singing songs about love. The way she was singing   42  me a bit. I stood there watching her   43  for about fifteen minutes, thinking that it must take   44  to perform on her own in public.
Feeling my presence, she looked in my   45  . I walked over and put some money in her carriage. “I have been going through a   46  time lately, but you’ve made me hopeful again.”
"I'm happy that I could   47  . Why are you so sad?"
"Well, my mum had got   48  from her job, but I’m not sure what to do….”
"You see, the way you were   49  ," she explained. “Don't look defeated,   50  come in different ways. If your head is down you might never see it. Smile more ...   51  your head up."
I smiled slightly, amazed by how she was   52  me.
“Why are you playing here?” I asked.
“I am not making music. I study psychology. I often see many   53  people and hope to relieve their   54  and make them think positively by sharing music.”
I smiled a little wider. She was doing a good thing. My heart was touched by a   55  soul.
小题1:
A.insteadB.somehowC.anywayD.either
小题2:
A.sinceB.whenC.beforeD.after
小题3:
A.noiseB.viewC.sceneD.hurry
小题4:
A.butB.yetC.orD.so
小题5:
A.AcrossB.AlongC.BesideD.Through
小题6:
A.plateB.carriageC.basketD.bowl
小题7:
A.discouragedB.disturbedC.shockedD.comforted
小题8:
A.playingB.beggingC.dancingD.refreshing
小题9:
A.imageB.beliefC.courageD.time
小题10:
A.instructionB.directionC.operationD.intention
小题11:
A.peacefulB.niceC.roughD.pleasure
小题12:
A.workB.improveC.standD.help
小题13:
A.lostB.firedC.stuckD.tired
小题14:
A.sighingB.listeningC.walkingD.talking
小题15:
A.OpportunitiesB.PossibilitiesC.PerformancesD.Experiences
小题16:
A.dropB.liftC.pickD.knock
小题17:
A.depressingB.encouragingC.frighteningD.surprising
小题18:
A.activeB.thoughtfulC.negativeD.surprising
小题19:
A.painB.sightC.respectD.attention
小题20:
A.classicalB.seriousC.curiousD.musical
单项选择题 B1型题