Most object oriented programing languages are divided into two categories.
  1. Primitive Data types
  2. Reference Data types

Primitive Data types:
Primitive data types are handled "by value" and the actual primitive values are stored in address which can be passed/retrieved within the other functions. For example, the primitive data types in flash are String, Boolean, int, uint and Number.

Reference Data types:
The other non-primitive data types in OOP programing is called "Reference data types" such as Objects and Arrays. Reference data types are handled "by references" and the address of the objects and arrays are stored in a value which can be passed/retrieved within the other functions. Reference data types in flash are Classes, Objects, Arrays, Interfaces and packages.



Leave a Reply.