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

Pages: 1
Anonymous
Unregistered




Extending enumerations?
      #23351 - 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  
Pages: 1



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

Moderator:   

Print Topic

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

Rating:
Topic views: 2938

Rate this topic

Jump to

Contact us JavaWorld

Powered by UBB.threads™ 6.5.5