Interview Question
Qus: What is scope of variable that declared outside the main? is that accessible in try & catch block?
Answers (1)
Scope of a variable is limited when declared inside a sequence when scope is mentioned.