what is the use of throws Exception
<p>Can somebody explain me what is the use of throws Exception in java?
Its just used to indicate that the method will throw the exception specified? The calling method need to catch the exception specified?</p>

<p>So instead of throws we can use a try-catch block to catch the exception?</p>

<p>How it differs from throw?
Thanks</p>
