Tag Archives: clause

Which two statements are true about the ORDER BY clause when used with a SQL statement containing a SET

Which two statements are true about the ORDER BY clause when used with a SQL statement containing a SET operator such as UNION? (Choose two.) A. The first column in the first SELECT of the compound query with the UNION operator is used by default to sort output in the absence of an ORDER BY clause B. Only… Read More »

Given: (Exhibit) and omitting the throws FooException clause results in a compilation error. Which statement

Given:and omitting the throws FooException clause results in a compilation error.Which statement is true about FooException? A. FooException is unchecked. B. FooException is a subclass of RuntimeError. C. The body of foo can throw FooException or one of its subclasses. D. The body of foo can only throw FooException. Correct Answer: C

Given: (Exhibit) and omitting the throws FooException clause results in a compilation error. Which statement

Given:and omitting the throws FooException clause results in a compilation error.Which statement is true about FooException? A. FooException is a subclass of RuntimeError. B. The body of foo can only throw FooException. C. The body of foo can throw FooException or one of its subclasses. D. FooException is unchecked. Correct Answer: C

Which two statements are true about the ORDER BY clause when used with a SQL statement containing a SET

Which two statements are true about the ORDER BY clause when used with a SQL statement containing a SET operator such as UNION? (Choose two.) A. Each SELECT statement in the compound query must have its own ORDER BY clause B. Column positions must be used in the ORDER BY clause C. Each SELECT statement in the compound… Read More »

Given: (Exhibit) and omitting the throws FooException clause results in a compilation error. Which statement

Given:and omitting the throws FooException clause results in a compilation error.Which statement is true about FooException? A. FooException is unchecked. B. FooException is a subclass of RuntimeError. C. The body of foo can throw FooException or one of its subclasses. D. The body of foo can only throw FooException. Correct Answer: C