📚 Practice Mode

Test 1 Java Threads

Learn at your own pace with hints and detailed explanations

1 / 12
Multiple Choice

Which of the following thread group methods returns the number of threads in a group, along with the group, for which this thread is a parent?

  1. int activeGroupCount()
  2. final void destroy()
  3. final int getMaxPriority()
  4. int activeCount()
  5. none of these