Answers for "can we have any code between try and catch blocks"

0

can we have any code between try and catch blocks

We shouldn’t declare any code between try and catch block. 
Catch block should immediately start after try block.
try{
//code
}
System.out.println(“one line of code”); // illegal
catch(Exception e){
//
}
Posted by: Guest on December-01-2020

Code answers related to "can we have any code between try and catch blocks"

Browse Popular Code Answers by Language