Google interview question

What is a stack trace?

Interview Answer

Anonymous

12 Sept 2019

A stack trace is generated whenever your app crashes because of an error or an exception. You can also print a stack trace at any point in your app code using methods such as Thread.dumpStack().