Adobe Flex Actionscript Question:
What is the difference between sealed class and dynamic classes in flex?
Answer:
Classes are sealed by default, i.e. properties cannot be added dynamically at runtime.
* Dynamic classes can add additional dynamic properties at runtime; sealed classes cannot.
* Sealed classes conserve memory because no internal hash table is needed to store dynamic properties, and the compiler can provide better error feedback.
* Dynamic classes can add additional dynamic properties at runtime; sealed classes cannot.
* Sealed classes conserve memory because no internal hash table is needed to store dynamic properties, and the compiler can provide better error feedback.
Previous Question | Next Question |
How do we use css styles in flex? | What is MVC and how do you relate it to flex apps? |