Categories
Where are local variables stored in memory?
Hello everyone, such a question, when creating a local variable in JAVA, are these variables stored on the heap, or on the stack?
Answer the question
In order to leave comments, you need to log in
literally the very first link. Banned in Yandex?
Objects on the heap. Primitives and references are on the stack.
Didn't find what you were looking for?
Ask a Question
731 491 924 answers to any question