单项选择题

结构化程序设计所规定的三种基本控制结构是______。

A.输入、处理、输出
B.树形、网形、环形
C.顺序、选择、循环
D.主程序、子程序、函数
<上一题 目录 下一题>
热门 试题

单项选择题
下面的哪些程序段可能导致错误Ⅰ: String s = Gone with the wind ;String t = good ;String k = s + t;Ⅱ: String s = Gone with the wind ;String t;t = s[3] + one ;Ⅲ: String s = Gone with the wind ;String standard = s.toUpperCase();Ⅳ: String s = home directory ;String t = s- directory :
A.Ⅱ、Ⅲ
B.Ⅱ、Ⅳ
C.Ⅰ、Ⅳ
D.Ⅲ、Ⅳ
单项选择题
下列程序的运行结果是______。public class Test extends Thread{public static void main(String[] args){Thread t=new Thread();t.start();}public void run(){System.out.println( Hello );}}
A.程序不能通过编译,因为没有import语句将Thread类引入
B.程序不能通过编译,因为Test类没有实现Runnable接口
C.程序通过编译,且运行正常,没有任何输出
D.程序通过编译,且运行正常,打印出一个“HeIlo”
相关试题
  • ______语句的功能是从当前方法中退出...
  • 函数min()的功能是:在带头结点的单链表...
  • 下列JApplet使用重写paintCompon6t()方...
  • ______类是提供线程操作和管理的类。
  • 请在下画线中填写适当内容:abstract clas...