Java Tutorials - Memory Allocation and Deallocation in Java - #21

preview_player
Показать описание
In this video, we will learn about how Memory allocation and deallocation occurs in Java. We will understand the role of the stack and the heap and what type of variables are stored in stack or heap. The code for the video (if any)can be found on GitHub. #java
----------------------------------------

🐱‍💻 🐱‍💻 Course Links:

---
Support my channel:
💜 One time donations via PayPal
Thank you! 🙏

---
Follow me on:
Рекомендации по теме
Комментарии
Автор

People want to search the keyword to de allocate the memory .... like the one in C++ (delete [])

alihussnain
Автор

meri jaan you did not give any information about how to de allocate the memory occupied by the array .... you just discussed the case in which there is nothing in the location at wich the array is pointing at ... but what if array is pointing to some location where there is some data ... and we want to refer that array to null ??? ???

alihussnain
join shbcf.ru