Question: What is the difference between throw exceptions and throw clauses?

  1. Throw clauses fire only at runtime, while throw exceptions can fire at any time.
  2. Throw exceptions overwrite the stack trace, while throw clauses retain the stack information.
  3. Throw clauses overwrite the stack trace, while throw exceptions retain the stack information.
  4. Throw exceptions fire only at runtime, while throw clauses can fire during compile time.

Answer: The correct answer of the above question is Option B:Throw exceptions overwrite the stack trace, while throw clauses retain the stack information.