Throw and throws are keywords are used to deal with exception handling in java program. Using throw keyword "programer" or "JRE" can throw the exception
when any un-wanted condition comes at run time and throws is used to declarare the exception after method declaration , in case programer does not want to handle it inside the definition
of the method. Now it's method caller responsibility to handle the exception.