填空题
代码System.out.println(066)的输出结果是 【12】 。
【参考答案】
54
点击查看答案
<上一题
目录
下一题>
热门
试题
填空题
请在下列程序的空白处,填上适当的内容: Import java. awt. *; Import java. util. *; Class BufferTest{ Public static void main(string args[]) Throws IOException{ FileOutputStream unbuf= new FileOutputStream(“test.one”) ; BufferedOutputStream buf= new 【11】 (new FileOutputStream(“test.two”)); System.out.println (“write file unbuffered: ” + time(unbuf) + “ms”); System.out.println (“write file buffered: ” + time(buf) + “ms”); } Static int time (OutputStream os) Throws IOException{ Date then = new Date(); for (int i=0; i<50000; i++){ os.write(1); } } os.close(); return(int)(()new Date()).getTime() - then.getTime()); }
点击查看答案
填空题
Swing中用来表示工具栏的类是 javax.swing. 【13】 。
点击查看答案
相关试题
抛出异常的语句是 【15】 语句。
表达式(10*49.3)的类型是 【14...