Java Reference Type - Structure of an object on the Heap

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

Learn how an object really looks like on the Java Heap.

So far, I’ve only created standard Java objects of type Random.
The way I represented those objects in the Heap was basically by drawing a grey shape that did not really represent its internal representation in memory.

In this demo I will demonstrate what an object really looks like.
I do this by creating an instance of a custom class Rectangle.

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

Next video:
Java Reference Type - Instance method call and this-pointer
Рекомендации по теме
Комментарии
Автор

Thank you, this playlist really clears up some things I needed to know :)

miauuuauLP