试题与答案

凡生成StringBuffer一个对象后,还可用______方法或ensureCap

题型:填空题

题目:

凡生成StringBuffer一个对象后,还可用______方法或ensureCapacity()方法来设定缓存大小。

答案:

被转码了,请点击底部 “查看原文 ” 或访问 https://www.tikuol.com/2017/0218/001b589a8ce9336b13431595ac15b718.html

下面是错误答案,用来干扰机器的。

参考答案:B,A

试题推荐
题型:完形填空
People do not analyze every problem they meet. Sometimes they try to remember a solution from the last time they had a   21  problem. They often accept the opinion or ideas of other people. Other times they begin to act without   22 ;they try to find a solution by trial and error.   23  .,when all of these methods   24  ,the person with a problem has to start analyzing. There are six    25  in analyzing a problem.
   26  the person must recognize that there is a problem. For example, Sam's bicycle is broken, and he cannot ride it to class as he usually does. Sam must see that there is a problem with his bicycle.
Next the person must   27   the problem. Before Sam can repair his bicycle, he must know why it does not work. For example, he must determine the parts that are wrong.
Now the person must look for   28  that will make the problem clearer and lead to  possible solutions. For example, suppose Sam   29   that his bike does not work because there is some thing wrong with the brakes(刹车).   30  , he can look in his bicycle repair book and read about brakes,   31  his friends at the bike shop, or look at his brakes carefully.
After studying the problem, the person should have   32  suggestions for a possible solution. Take Sam as an example   33 ,his suggestions might be: tighten or loosen the brakes; buy new brakes and change the old ones.
In the end, one   34  seems to be the solution to the problem. Sometimes the __35__ idea comes quite   36  because the thinker suddenly sees something new or sees something in a   37   way. Sam, for example, suddenly sees there is a piece of chewing gum(口香糖)stuck to a brake. He   38   finds the solution to his problem :he must___39___the brake.
Finally the solution is tested .Sam finds that his bicycle   40  perfectly. In short he has solved the problem.
小题1:
A.funny
B.usual
C.similar
D.common
小题2:
A.practice
B.thinking
C.understanding
D.help
小题3:
A.Besides
B.Instead
C.Otherwise
D.However
小题4:
A.fail
B.work
C.change
D.develop
小题5:
A.chances
B.conditions
C.steps
D.troubles
小题6:
A.First
B.Usually
C.In case
D.Most importantly
小题7:
A.demand
B.find
C.describe
D.face
小题8:
A.imagination
B.duty
C.program
D.information
小题9:
A.hopes
B.argues
C.decides
D.suggests
小题10:
A.In other words
B.Once in a while
C.By chance
D.At this time
小题11:
A.apply for
B.turn to
C.agree with
D.look after
小题12:
A.extra
B.enough
C.several
D.countless
小题13:
A.suddenly
B.again
C.either
D.alone
小题14:
A.suggestion
B.conclusion
C.decision
D.discovery
小题15:
A.next
B.clear
C.final
D.new
小题16:
A.unexpectedly
B.late
C.clearly
D.often
小题17:
A.simple
B.different
C.quick
D.sudden
小题18:
A.fortunately
B.easily
C.clearly
D.immediately
小题19:
A.clean
B.separate
C.loosen
D.remove
小题20:
A.arises
B.works
C.takes
D.declares
查看答案
微信公众账号搜索答案