Let me try. a) Allow threads to be manipulated as a group Yes. The proof is in the pudding. Name of the class itself suggests it is a group of threads. If you are curious, take a look at API documentation about the methods it supports. b) Provide support for ThreadDeath listeners May be. I am not sure what they mean by this. However, you can subclass ThreadGroup and override the uncaughtException method. This method gets called when a thread in the group is about to die due to an unhandled exception. c) May contain other ThreadGroups Yes! A Thread group can contain threads or threadgroups. d) Must contain threads of the same type Nope. Not necessarily. You can mix and match both user and daemon threads and assign them to a same group.
Hope this helps. BTW - I am not sure if ThreadGroups are included in SCJP objectives.
[This message has been edited by Ajith Kallambella (edited July 26, 2000).]
Open Group Certified Distinguished IT Architect. Open Group Certified Master IT Architect. Sun Certified Architect (SCEA).
Dear mikeliu, I am trying to appear in the IBM mock exams for more than a month. But when I try to login the site displays an error ( Exception in object). I have contacted the webmaster but in vain. Please let me know when u appeared for it and the browser/version u are using . Provide the exact URL also. Bye Shailendra Bade
Hi Shailendra, I am using IE 5.0 to surf on the net. The IBM mock URL is http://certify.torolab.ibm.com/. I never have the problem like you have and I can log on anytime. Please try again. Feel free to contact me if you any problem. Good luck. Mike