+ 3
Yes! We can handle exceptional situation by using conditional statement then what's the reason behind using try, catch block?
Almost in every programming languages.
2 Respuestas
+ 5
You can handle multiple exceptions within a try-catch block instead of writing conditional statements everywhere and end up with poor readability.
+ 2
ohh thanks for your help i got 1 solid reason .