多选题Which four types of object can be thrown using the throw statement?()AErrorBEventCObjectDExceptionEThrowableFRuntime Exception

题目

多选题Which four types of object can be thrown using the throw statement?()AErrorBEventCObjectDExceptionEThrowableFRuntime Exception

如果没有搜索结果或未解决您的问题,请直接 联系老师 获取答案。
相似问题和答案

第1题:

Which can appropriately be thrown by a programmer using Java SE technology to create a desktop application?()

  • A、ClassCastException
  • B、NullPointerException
  • C、NoClassDefFoundError
  • D、NumberFormatException
  • E、ArrayIndexOutOfBoundsException

正确答案:D

第2题:

Which four types of objects can be thrown using the throw statement?()

  • A、 Error
  • B、 Event
  • C、 Object
  • D、 Exception
  • E、 Throwable
  • F、 RuntimeException

正确答案:A,D,E,F

第3题:

Click the Exhibit button. Given:Which statement is true if a TestException is thrown on line 3 of class B? ()

A.Line 33 must be called within a try block.

B.The exception thrown by method1 in class A is not required to be caught.

C.The method declared on line 31 must be declared to throw a RuntimeException.

D.On line 5 of class A, the call to method2 of class B does not need to be placed in a try/catch block.


参考答案:B

第4题:

You want to make use of the object features available in the database for the form module you are developing. Which three statements about object types are true? ()

  • A、An object type is a user-defined composite data type. 
  • B、The attributes of an object type can be those of other object types. 
  • C、A PL/SQL table of records is an example of a nested object type. 
  • D、An object type must be declared as a type before the actual object itself can be declared.

正确答案:A,B,D

第5题:

Which four types of object can be thrown using the throw statement?()

  • A、 Error
  • B、 Event
  • C、 Object
  • D、 Exception
  • E、 Throwable
  • F、 Runtime Exception

正确答案:A,D,E,F

第6题:

Which four can be thrown using the throw statement?() 

  • A、 Error
  • B、 Event
  • C、 Object
  • D、 Throwable
  • E、 Exception
  • F、 RuntimeException

正确答案:A,D,E,F

第7题:

static void test() throws Error {  if (true) throw new AssertionError();  System.out.print(”test “);  }  public static void main(String[] args) {  try { test(); }  catch (Exception ex) { System.out.print(”exception “); }  System.out.print(”elld “);  }  What is the result?() 

  • A、 end
  • B、 Compilation fails.
  • C、 exception end
  • D、 exception test end
  • E、 A Throwable is thrown by main.
  • F、 An Exception is thrown by main.

正确答案:E

第8题:

Which the statement is true?()

  • A、 The Error class is a Runtime Exception.
  • B、 No exceptions are subclasses of Error.
  • C、 Any statement that may throw an Error must be enclosed in a try block.
  • D、 any statement that may throw an Exception must be enclosed in a try block.
  • E、 Any statement that may throw an Runtime Exception must be enclosed in a try block.

正确答案:B

第9题:

Which two data types can be converted to LOBs using an ALTER TABLE… MODIFY command?()

  • A、RAW
  • B、LONG
  • C、VARCHAR
  • D、LONG RAW

正确答案:B,D

第10题:

When performing a backup using Recovery Manager (RMAN), which four types of files can be backed up with the RMAN BACKUPcommand? ()

  • A、 data file
  • B、 password file
  • C、 archivelog file
  • D、 temporary file
  • E、 online redo log file
  • F、 the current control file
  • G、 the tnsnames.ora file
  • H、 current server parameter file

正确答案:A,C,F,H

更多相关问题