Difference between throw and throws?
Question : Difference between throw and throws?
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.