difference between try and catch statements in java
Answers
Answered by
2
Answer:
HELLO MATE
Explanation:
Java try and catch
The try statement allows you to define a block of code to be tested for errors while it is being executed.
The catch statement allows you to define a block of code to be executed, if an error occurs in the try block.
The try and catch keywords come in pairs:
Similar questions