Java Reference Type - Object creation demystified (Stack and Heap)

preview_player
Показать описание
Java under the Hood - playlists:
"Stack & Heap Memory Fundamentals”
"Java Collections Framework: List"

So far, I only mentioned the Method Area and Stack.
In this demo I will introduce the use of a reference type by creating an object on the Heap using the Java keyword 'new'.

Previous video:
Java Primitive Type - Method parameters (Stack and Stack Frame)

Next video:
Java Reference Type - Playing with object references (and null)
Рекомендации по теме