Vidyalelo
Computer Science · Q97

Object Oriented Programming Using C++

Engineering and GATE · Computer Science · question 97

Q97

If an integer object is thrown with a throw statement, then a subsequent catch block has a usable match if the type of the catch argument is

A.
int
Answer
B.
double
C.
either (a) or (b)
D.
neither (a) nor (b)

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board