1.

Explain the difference between throw and throws in Java?

Answer»
 THROWThrows
1.Used to throw an exception.Used to DECLARE an exception
2.Followed by Exception class instanceFollowed by exception class names
3.Used in the method bodyUsed in method SIGNATURE


Discussion

No Comment Found