填空题
J2SDK的基本命令中用于Java类文件归档的是
【14】
。
【参考答案】
jar
点击查看答案&解析
<上一题
目录
下一题>
热门
试题
填空题
通过实现Runnable接口创建线程,请在画线处加入正确的代码完成此程序 【9】 。 public class ThreadTest public static void main(String args[ ] Thread t1 = new Thread(new Hello() Thread t2 = new Thread(new Hello() ___________; t2.start(); class Hello implements Runnable int i; public void run() while (true) System.out.println( Hello +i++ if(i==5) break;
点击查看答案&解析
填空题
请阅读代码: import java.awt.*; public class E11-4 public static void main(String args[]) Frame f=new Frame( BorderLayout ); f.add( North ,new Button( North )); f.add( East ,new Button( East ); f.add( West ,new Button ( West )); f.add ( South , tf); f.setSize(200,200); f. pack ( ); f. setVisible (true); 请将程序画线处填入正确的语句 【11】 ,使得程序能够正确运行。
点击查看答案&解析
相关试题
请在下面代码中加入监听器语句 【15】 ...
Java语言中,调用方法时,参数传递是值调用...