**DONOTDELETE**
(Unregistered)
11/02/05 03:37 AM
Extending enumerations?

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



Contact us JavaWorld

Powered by UBB.threads™ 6.5.5

Featured White Papers


RESEARCH CENTERS: Java Standard Edition | Java Enterprise Edition | Java Micro Edition | Development Tools
About Us | Advertise | Contact Us | Terms of Service/Privacy
Copyright, 2006-2008 Network World, Inc. All rights reserved.