Please join us at the new JavaWorld Q&A Forums. Your existing login will work there. The discussions here are now read-only.


JavaWorld Talkback >> 958924

Anonymous
Unregistered




Extending enumerations?
      11/02/05 03:37 AM

Hi,

With enums actually being classes I was wondering wether it would be possible to extend them. Say I have a class A with enum AA {a} and I have a class B with another enum, could I have that enum include AA and extend on it so that I would end up with an enum that holds for example {a, b} where a is inherited from AA?

Please send replies to stefan.kuypers@advalvas.be

Thanks in advance,
Stef

Post Extras Print Post   Remind Me!     Notify Moderator


Entire topic
Subject Posted by Posted on
* Extending enumerations? Anonymous 11/02/05 03:37 AM

Extra information
0 registered and 1 anonymous users are browsing this forum.

Moderator:   



Forum Permissions
      You cannot start new topics
      You cannot reply to topics
      HTML is disabled
      UBBCode is enabled

Rating:
Thread views: 2938

Rate this thread

Jump to

Contact us JavaWorld

Powered by UBB.threads™ 6.5.5