What are the different primitive data types used in ActionScript?

What are the different primitive data types used in ActionScript?



There are three different types of primitive data types that exist:

- Boolean – this data type deals in only two values either it can be true or false. It is also donates as 1 or 0.

- There are no other values that can be valid for Boolean data types and it is used mostly in conditional statements.

- int – this is the data type that is of 32 bit and it has the range in between -2,147,483,648 and 2,147,483,647.

- Null – this data type defines only one value that is NULL and this is the default value used in the String data type.

- These values are used in classes with other complex data types and it includes the object classes as well.
Post your comment