The Error class is a Runtime Exception.
No exceptions are subclasses of Error.
Any statement that may throw an Error must be enclosed in a try block.
any statement that may throw an Exception must be enclosed in a try block.
Any statement that may throw an Runtime Exception must be enclosed in a try block.
第1题:
A. It releases the storage space used by the table.
B. It does not release the storage space used by the table.
C. You can roll back the deletion of rows after the statement executes.
D. You can NOT roll back the deletion of rows after the statement executes.
E. An attempt to use DESCRIBE on the DEPT table after the TRUNCATE statement executes will display an error.
F. You must be the owner of the table or have DELETE ANY TABLE system privileges to truncate the DEPT table
第2题:
Which statement is NOT true concerning the stowage of class 1 explosives ________.
A.Class 1.1 explosives may be stowed with class 9 dangerous substances
B.Class 1.4 explosives must be“separated from”a stow of class 5.1 oxidizing materials
C.Class 1.4 explosives may not be stowed in the same hold with class 6.1 poisons
D.Class 1.4 explosives must be“separated from”a stow of class 8 corrosive materials
第3题:
A. Compilation succeeds.
B. Class A does not compile.
C. The method declared on line 9 cannot be modified to throw TestException.
D. TestA compiles if line 10 is enclosed in a try/catch block that catches TestException.
第4题:
Which statements concerning the switch construct are true?()
第5题:
Concerning the identification signal for a pilot vessel, in fog, which statement is TRUE?___.
A.When at anchor, the pilot vessel is only required to sound anchor signals
B.The identification signal must be sounded any time the pilot vessel is underway
C.The pilot vessel may only sound the identity signal when making way
D.All of the above
第6题:
A.It can be any class.
B.No class has access to base.
C.The class must belong to the geometry package.
D.The class must be a subclass of the class Hypotenuse.
第7题:
Which statement is TRUE ________.
A.Key letters or abbreviations may not be used in GMDSS radio logbooks under any circumstance
B.Urgent communications do not need to be entered in the GMDSS radio log
C.Both of the above
D.None of the above
第8题:
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.
第9题:
If a magnetic compass is not affected by any magnetic field other than the Earth’s which statement is TRUE?______.
A.Compass error and variation are equal
B.Compass north will be true north
C.Variation will equal deviation
D.There will be no compass error
第10题:
Which statement about WSA access logs that are to be processed by sawmill for cisco ironport istrue?()