The documentation for ThreadGroup#activeCount() says : Returns an estimate of the number of active threads in this thread group and its subgroups.
Does that count include threads in sleep , wait and join mode or only those threads which are executing run method?
Thanks.