Share on Google+Share on Google+

Flex Variable Scope

Advertisement
Scope of the variable defines the accessibility of the variable across the application.
Scope of the variable defines the accessibility of the variable across the application. The global variable has global access to the application and local variable is restricted to the block of code only. The variable defined outside of the class or function is declared as global. Variables defined inside a function or class is assigned the scope of the function or class itself.

Advertisements

Posted on: April 19, 2010 If you enjoyed this post then why not add us on Google+? Add us to your Circles

Share this Tutorial Follow us on Twitter, or add us on Facebook or Google Plus to keep you updated with the recent trends of Java and other open source platforms.