Sr.Java Web Developer Question:

What is public StackTraceElement[] getStackTrace()?

Sr.Java Web Developer Interview Question
Sr.Java Web Developer Interview Question

Answer:

This method returns an array containing each element on the stack trace. The element at index 0 represents the top of the call stack whereas the last element in the array represents the method at the bottom of the call stack.


Previous QuestionNext Question
Explain me what is JDBC Connection interface?Explain me what is the purpose of JDBC ResultSet interface?