皮皮学,免费搜题
登录
搜题
【单选题】
下列程序的运行结果是______。 package ch1; import java.io. *; public class ex28 { public static void main (String args [] ) throws IOException { try { File f1 = new File('ch1//dir28'); f1.mkdir(); File f2 = new File(f1, 'file59.txt'); FileOutputStream fos = new FileOutputStream(f2); for(int i = 0; i < 2; i++) { String s= i + 'times'; byte[] b = s.getBytes(); fos.write(b,0,b.length); } } catch(IOException ioe) { ioe.printStackTrace(); } } }
A.
在目录ch1下建立一个目录dir28,并且建立文件file28.txt,在文件中写入'Otimes 1 times'
B.
在目录ch1下建立一个目录dir28,并且建立文件file28.txt,在文件中写入“l times”
C.
在目录chi下建立一个目录dir28,并且建立文件file28.txt,在文件中写入“Otimes”
D.
抛出IOExceptin异常
拍照语音搜题,微信中搜索"皮皮学"使用
参考答案:
参考解析:
知识点:
.
..
皮皮学刷刷变学霸
举一反三
【简答题】All over Pompeii, people lay down on beds of pumice stones, overwhelmed by the gas.... (para.18)
【判断题】Pompeii was taken over by the Romans in the first century A.D.
A.
正确
B.
错误
【单选题】Well, that is California all over . Which sentence has the same use of "all over"?
A.
The room is decorated all over with flowers.
B.
Tom looks all over for the book.
C.
She is her mother all over.
【单选题】在下列产品寿命周期的不同阶段中,产品销售量急剧下降的现象通常发生在
A.
萌芽期
B.
成长期
C.
成熟期
D.
衰退期
【单选题】Pompeii, once a happy and______city, was buried under the blanket of volcanic ash for over 2,000 years.
A.
primitive
B.
prosperous
C.
precious
D.
previous
【简答题】Every year thousands of tourists visit Pompeii, Italy. They see the sights that Pompeii is famous for—its stadium(运动场)and theatres, its shops and restaurants. The tourists do not, however, see Pompeii...
【简答题】Every year thousands of tourists visit Pompeii, Italy. They see the sights that Pompeii is famous for-its stadium and theatres, its shops and restaurants. The tourists do not, however, see Pompeii’s p...
【单选题】在下列产品寿命周期的不同阶段中,产品销售量急剧下降的现象通常发生在
A.
衰退期
B.
萌芽期
C.
成长期
D.
成熟期
【单选题】Black and blue is _____. [     ]
A.
Over there
B.
all over his body
C.
his all over body
【多选题】海关企业分类管理办法中,“上一年度进出口报关差错率”是一个重要的指标,请指出下列哪些判断是正确的?( )。
A.
AA类进出口货物收发货人上一年度进出口报关单差错率要求在3%以下
B.
A类进出口货物收发货人上一年度进出口报关差错率要求在5%以下
C.
A类报关企业上一年度代理申报的进出口报关差错率要求在5%以下
D.
C类报关企业上一年度代理申报的进出口报关差错率要求在10%以上
相关题目: