⟩ What is public StackTraceElement[] getStackTrace()?
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.