0 Replies Latest reply on Oct 3, 2009 2:29 PM by timo888

    newbie question; isPossible: final class that extends Array?

    timo888 Level 1

      I see that in Flex ActionScript you create enumerations by  using a final class:

       

      public final class Days {

         public static const MONDAY:String = "Monday";

         public static const TUESDAY:String="Tuesday";

         etc

         etc

      }

       

      And I've also been able to create a final class that encapsulates an Array.

       

      But is there a way to create a final class that extends Array, and refers to itself (extending Array) as this,  and if not, why not?

       

      Thanks!