Question: what is the difference between try catch and throws java?
Answer: A try block is always followed by a catch block, which handles the exception that occurs in associated try block. ... throws: Throws keyword is used for exception handling without try & catch block. It specifies the exceptions that a method can throw to the caller and does not handle itself.