Sail E0 Webinar
Question

Which of these Exception handlers cannot be type parameterized?


Options:
A .  catch
B .  throw
C .  throws
D .  All of the mentioned
Answer: Option D

we cannot Create, Catch, or Throw Objects of Parameterized Types as generic 

class cannot extend the Throwable class directly or indirectly.



Was this answer helpful ?
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers