What is the Actual difference
Throw keyword is used to throw an exception explicitly. It is followed by an instance of an exception class.
Throws keyword is used to declare an exception. It is followed by an instance of exception class.
I hope it will clear your doubt. If you are sticking with some small issues, it would be best to brush up the knowledge and join java training institute in Delhi.
Did Not Get The Answer?
Contact people of Talent-Core Java directly from here