1.

Difference between throw and throws?

Answer»

It includes:

  • Throw is used to trigger an exception where as throws is used in declaration of exception.

  • Without throws, Checked exception cannot be handled where as checked exception can be propagated with throws.



Discussion

No Comment Found