Thursday, 18 October 2012

What is the difference between sealed class and dynamic classes in flex? | Miltimedia Interview Questions

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.

No comments: