Share on Google+Share on Google+

Flex Functions

Advertisement
A function is a block of set of statements that is made to perform some specific task.
A function is a block of set of statements that is made to perform some specific task. It?s a reusable entity and can be invoked several times in an application.

public function init():void {

         var bool:Boolean = new Boolean(true);

         var myObj:MyClass = new MyClass();

}

Advertisements

Advertisement

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.