hello there i have come across the name "anonymous class".i realy don't understand what kind of class it is ,can some one explain and give me an example. thanks desmond mongwe ------------------ email@example.com
Anonymous classes, as the name suggests, are classes which are declared and defined at the point of usage in the program. If you need to 'cook' a class, but would like to use it only once, and if it has very few( usually one or two ) methods in it, then it is probably a good candidate for an anonymous class. You can read and learn more about them in any goodJavabook. I would suggest you to pickup a good JavaBook( Thinking In Java by Bruce Eckel is free and popular. The RHE certification guide is another excellent book. Good luck, Ajith
Open Group Certified Distinguished IT Architect. Open Group Certified Master IT Architect. Sun Certified Architect (SCEA).