To catch more than one exception in one catch block, how are the exceptions separated in the syntax?
(a) Vertical bar
(b) Hyphen
(c) Plus
(d) Modulus
The question was posed to me in an internship interview.
I need to ask this question from Catching Class Types topic in portion Exception Handling & Static Class Members of Object Oriented Programming