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.


CCC Online Test Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Online Exam Quiz O Level NIELIT Study material and Quiz Bank SSC Railway TET UPTET Question Bank career counselling in allahabad Best Website and Software Company in Allahabad Website development Company in Allahabad