题目内容

下面程序抛出的RuntimeException异常是( )。public static void main(String[] args) {System.out.println(1/0);}}

A. NumberFormatException
B. Exception
C. ArrayIndexOutOfBoundsException
D. ArithmeticException

查看答案
更多问题

下列类中在多重catch中同时使用时,( )异常类应该最后列出。

A. NumberFormatException
B. Exception
C. ArrayIndexOutOfBoundsException
D. ArithmeticException

下面程序会抛出的RuntimeException异常是( )。public class Test {public static void main(String args[]){String s="abc";System.out.println(s.charAt(3));}}

A. NumberFormatException
B. Exception
C. StringIndexOutOfBoundsException
D. 以上都不对

有用就是真理,这是

A. 相对主义真理
B. 形而上学唯物主义真理
C. 实用主义真理
D. 辩证唯物主义真理

相对真理是指

A. 不包含绝对性的真理
B. 相对的谬误
C. 基本上正确,包含有谬误的成分
D. 正确认识,在广度和深度上有待于进一步精确和完善化

答案查题题库