I am going through a socket program. In it, printStackTrace is called on the IOException object in the catch block. What does printStackT
printStackTrace
IOException
printStackT
The printStackTrace() helps the programmer understand where the actual problem occurred. The printStackTrace() method is a member of the class Throwable in the java.lang package.
printStackTrace()
Throwable
java.lang