NetBeans and Catch Sentences | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

NetBeans and Catch Sentences

I cannot put multiple "catch" in NetBeans, when i do it NetBeans it warns me with "Need to put a try before a catch". Does any one know how to handle this?

7th Apr 2017, 10:31 AM
Francisco Susana Canela
Francisco Susana Canela - avatar
1 Answer
+ 3
try{} catch{} catch{} Make sure braces are at the right place
7th Apr 2017, 10:33 AM
Meharban Singh
Meharban Singh - avatar