Take FREE!! Online Mettl Mock Test to Crack TechM and Other Companies Written Exams.
Get Off-Campus Placement Jobs Info !!!
TCS NQT Technical and Managerial Round Interview Questions
Technical Discussion :: WebMethod

70 / 166

What is scope of variable that declared outside the main? is that accessible in try & catch block?

Answer:

Yes, it should be accessable if it is declared before the main sequence as an individual variable.

Scope of a variable is limited when declared inside a sequence when scope is mentioned.

Asked In ::

Post Your Answer Here:


Rate This: +0 -0     
Report    

Post Your Reply Here:

Alert me
q4i-reply-your-answer

Report Error

Please Login First Click Here

Most Popular Qs.