Which statement is used to catch all types of exceptions

By Rebecca
0 Min Read

Which statement is used to catch all types of exceptions?

(a) catch()

(b) catch(Test t)

(c) catch(…)

(d) catch(Test)

Answer:

(c) catch(…)

Which statement is used to catch all types of exceptions

Posted by Rebecca
Follow:
Rebecca is an Independent content writer for breldigital, She writes content on any given topic. She loves to write a case study article or reviews on a brand, Be it any topic, she nails it