皮皮学,免费搜题
登录
搜题
【单选题】
给定一个 java 程序的 main 方法的代码片段如下:假如 d 目录下不存在 abc.txt 文件,现运行该程序,下面的结果正确的是( )。 try { PrintWriter out=new PrintWriter(new FileOutputStream(“d:/abc.txt”)) ; String name=”chen”; out.print(name) ; out.close( ) ; } catch(Execption e) { System.out.println(“ 文件没有发现!“ ) ; }
A.
将在控制台上打印:“文件没有发现!”
B.
正常运行,但没有生成文件 abc.txt
C.
运行后生成 abc.txt , 但该文件中无内容
D.
运行后生成 abc.txt, 该文件内容为: chen
拍照语音搜题,微信中搜索"皮皮学"使用
参考答案:
参考解析:
知识点:
.
..
皮皮学刷刷变学霸
举一反三
【单选题】Jame was hit on the head by the robber and was knocked ______.
A.
unconscious
B.
unaware
C.
brainless
D.
mindless
【单选题】It can be inferred from the passage that ______.
A.
Puritan settlers witnessed the witchcraft of American Indians.
B.
frontier refugees couldn't admit their own defeat.
C.
the early European settlers lacked the sense of security.
D.
hundreds of American Indians died of the witchcraft accusation.
【简答题】Settlers found a (plenty) ______ supply of fruit and in the nearby forests.
【单选题】Which of the following is NOT true with the early settlers in America?
A.
The earliest settlers came to the North America to escape the controls imposed on them in Europe.
B.
The earliest settlers established quite a few colonies in the North American continent.
C.
The British colonial settlers separated church and state in 1789 with the Declaration of America.
D.
In 1776, they established the United States of America.
【简答题】A.residents B.builders C.emigrants D.settlers
【简答题】Jame’sNew Bicycle James shook his money boxJame’sNew Bicycle 21 James shook his money box again. Nothing! Hecarefully __36__ the coins that lay on the bed . 21 $ 24. 52 was all that he had. Thebicycle...
【简答题】Jame's favorite sport is ____________.
【单选题】Jame is unhappy because everyone went to the dance ______ her.
A.
against.
B.
for
C.
besides
D.
but
【简答题】案例分析题(30分) 【背景资料】:某新建图书馆工程,采用公开招标的方式,确定某施工单位中标。双方按《建设工程施工合同(示范文本)》(GF—2013—0201)签订了施工总承包合同。合同约定总造价14250万元,预付备料款28OO万元,每月底按月支付施工进度款。竣工结算时,结算价款按调值公式法进行调整。 【在招标和施工过程中,发生了如下事件】: 事件一:建设单位自行组织招标。招标文件规定:合格投标...
【简答题】Dutch settlers in New York were most responsible for ______.
相关题目: