A
A
Alexander Grigorenko2015-09-01 18:49:42
Java
Alexander Grigorenko, 2015-09-01 18:49:42

Who has a video in Russian about StackTrace?

Now I'm working on Javarush and I don't quite understand why StackTrace is needed and if there is a video about the Stack collection

Answer the question

In order to leave comments, you need to log in

1 answer(s)
G
GavriKos, 2015-09-01
@GavriKos

StackTrace and Stack data structure are slightly different things.
StackTrace is a sequence of method calls. As a matter of fact it is necessary for debugging - what method for what is called. Accordingly, these calls are packed into a stack.
What is a stack as a data structure - read in Wirth. Or go to the kitchen and look at the stack of plates - the same stack. Those. first-in-last-out data structure. Only the last added element can be retrieved in one operation.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question