In very simple words, " throws " declares that the method is capable of throwing an exception while " throw " actually does the job of throwing the exception. They are not same.
eg: Code: public void Exep(int param) throws MyException
{
if (param > 7)
{
throw new MyException("You have entered big value");
}
.
.
.
}
Consider the above code. The keyword throws signifies that the ...



