JAVA SE 5.0 provides two very useful APIs to help us debug our program, All this two are all class "Thread"’s method:
public StackTraceElement[] getStackTrace()
Returns an array of stack trace elements representing the stack dump of this thread. This method will return a zero-length array if this thread has not started or has terminated. If […]
Popularity: 38%





