What should be put in a try block?
1. Statements that might cause exceptions 2. Statements that should be skipped in case of an exception
Only 1
Only 2
Both 1 and 2
This question is part of this quiz :