赞题库-背景图
填空题

算法的时间复杂度是 【1】 。

【参考答案】

算法执行过程中所需要的基本运算次数
<上一题 目录 下一题>
热门试题

问答题下面的代码实现一个简单的Applet: import java.applet.Applet; import java.awt.*; public class Sample extends Applet private String text= Hello World ; public void init() add(new Label(text)); public Sample(String string) text=string; 通过下面的HTML文件访问: <html> <title>Sample Applet< title> <body> <applet code= Sample.class width=200 height=200>< applet> < body> < html> 当编译和运行该小程序时会出现什么结果,请选择正确的答案。( )

单项选择题下面的代码中方法unsafe()有异常发生,那么可以加在第一行的语句为( )。 if(unsafe()) do something else if(safe()) do the other Ⅰ:public void methodName() Ⅱ:public void methodName() throw IOException Ⅲ:public void methodName() throws IOException Ⅳ:public void methodName() throws Exception

A.Ⅲ、Ⅳ
B.Ⅱ、Ⅲ、Ⅳ
C.Ⅰ、Ⅲ
D.Ⅰ、Ⅳ