/** * Returns a string containing a concise, human-readable description of the Thread. It includes * the Thread's name, priority, and group name. * * @return a printable representation for the receiver. */ @Override public String toString() { return "Thread[" + name + "," + priority + "," + group.getName() + "]"; }