Java认证模考试题(九)

文章作者 100test 发表时间 2007:03:14 17:02:38
来源 100Test.Com百考试题网


Question: 44


Which of the following can be parts of the Java source file Calculation1.java?


A. public class Calculation1{//...}

B. import java.io.*.

C. package myPackage.

D. import java.awt.*.

E. static class Arg{//...}

F. class Calcu{//...}

G. public class Calculation2{//...}

Explanation:


The static can not be a modifier before the keyword class. A Java source file can have only one public class.

Correct Answer: A,B,C,D,F 44 of 60


Question: 45


Which one of the following containers must be added to another container?


A. Window

B. Frame

C. Dialog

D. Panel

Explanation:


The Window, Frame and Dialog are free-standing windows. But the Panel is contained within another container, or inside a Web browsers window.

Correct Answer: D 45 of 60



相关文章


Java经典模拟题(onlyfortrainning)(1)
理解JavaHelp结构的好处
java入门Java中的日期处理
Java认证模考试题(十一)
Java认证模考试题(九)
了解Java密码扩展的基础
Java认证模考试题(十)
java基础--JAVA字符集
Java认证模考试题(八)
澳大利亚华人论坛
考好网
日本华人论坛
华人移民留学论坛
英国华人论坛