How can i call two different methods in a single try catch | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
+ 1

How can i call two different methods in a single try catch

java program

9th Feb 2018, 5:18 AM
NARESH BABU PATAKARLA
NARESH BABU PATAKARLA - avatar
2 Réponses
10th Feb 2018, 12:09 AM
Tim Millar
Tim Millar - avatar
+ 1
You can put whatever you want in the try, catch, or finally blocks https://code.sololearn.com/c6Wcf3QHMgH8/?ref=app
9th Feb 2018, 5:45 AM
Jesse Bayliss
Jesse Bayliss - avatar