webmasterbeta
New Member
how do I get the object out of enumerator?? coz the following method throwsthe exception..ClassA classA;Enumerator enu = methodWhichGivesEnumerator();while (enu.hasMoreElements()){// this line throws classcastExceptionclassA = (ClassA) enu.nextElement();}pls mail me if u have the answer or any other way to do it!Thanks,