Java - Throw & Throws


Throw:
                It will throw a single exception. We will do inside the method.
Throws:
                It is used to declare multiple exceptions. And we will do in the method signature.

Comments

Popular posts from this blog

How to set Java Object into JaxBElement ?

GitLab