6- Catching Multiple Types of Exceptions
4:28
2 Àwọn Àkọ́lé
1 Àwọn àgbègbè
104 àwọn àgbègbè
Àwọn Àkọ́lé
Àwọn àgbègbè
-
0:03Àkọ́lé 1: Sometimes we need to catch multiple types of exceptions. 261s · Speaker 1
Sometimes we need to catch multiple types of exceptions. For example, after reading a file, let's call reader .read. This reads one character and returns its numeric value. So let's store it in a variable called value. Now here we have anot…