A variable is a reference to the value associated with it. Variables are used to store values for the application. A variable is a reference to the value associated with it. Variables are used to store values for the application.
In flex, var statement is used to declare the variable.
Variable is assigned a value using assignment operator (=).
Declaration and assignment of the variable can be done simultaneously.
The type of the variable can be any predefined type provided by flex or custom data type.
var myVar:MyClass = new MyClass(); |
No comments:
Post a Comment