+ 1
First notice this: In English Throws represents it Throws (3rd person present) and Throw is Imperative. So Throws is used in function declaration, saying that function Throws an exception. Inside this function Throw ask Java to Throw an exception: Take a look: https://www.javatpoint.com/difference-between-throw-and-throws-in-java
28th Jul 2017, 12:45 PM
Tiago Soares
Tiago Soares - avatar