单项选择题

声明异常抛出用下列哪个子句来完成声明,它包含在方法的声明当中

A. throws
B. throw
C. Throwable
D. Exception
<上一题 目录 下一题>
热门 试题

单项选择题
下列的哪个程序段可能导致错误
A.String s = "hello";String t = "good";String k = s + t;
B.String s = "hello";String t;t = s[3] + "one";
C.String s = " hello ";String standard = s.toUpperCase( );
D.String s = "hello";String t = s + "good";
单项选择题
Applet的默认布局管理器是FlowLayout,而Swing Applet的内容面板的默认布局管理器是( )。
A.String s = "hello";String t = "good";String k = s + t;
B.String s = "hello";String t;t = s[3] + "one";
C.String s = " hello ";String standard = s.toUpperCase( );
D.String s = "hello";String t = s + "good";
相关试题
  • 关系数据库的关系演算语言是以【 】为基础...
  • 关键字ASC和DESC分别表示【 】的含义。
  • 用链表表示线性表的突出优点是【 】。
  • 常用的黑箱测试有等价分类法、【 】、因果...
  • catch子句都带有一个参数,该参数是某个异...