InterviewSolution
| 1. |
How Can I Get Around Scope Problems In A Try/catch? |
|
Answer» If you try to INSTANTIATE the class inside the try, it'll be out of SCOPE when you try to access it from the catch block. A WAY to get around this is to do the following: If you try to instantiate the class inside the try, it'll be out of scope when you try to access it from the catch block. A way to get around this is to do the following: |
|