thelordoftherings
Programmer
Hello,
A quick question.
When I create a static final primitive inside an Object, does the JVM saves it in the stack memory (since it is constant, therefore will never grow) or in the heap memory (where it saves all the Objects)?
A quick question.
When I create a static final primitive inside an Object, does the JVM saves it in the stack memory (since it is constant, therefore will never grow) or in the heap memory (where it saves all the Objects)?