Dynamically Add Elements to an Enumeration

  • Thread starter Thread starter Christopher Pragash
  • Start date Start date
C

Christopher Pragash

Hello All,

I guess this may be a silly question but, Is there a way I can dynamically
create and add elements to an Enumeration? Any sample code would be of good
help.

Thanks,
Chris
 
You cannot add elements to an enumeration. You have to use an ArrayList to
do something like that.
 
Back
Top