Which attribute is added to the @Test annotation so that the test passes when an expected exception is thrown?
1.exception
2.throws
3.expected
4.expectedException
Answer:3
Posted Date:-2022-01-08 08:11:53