https://www.guru99.com/java-stack-hea... the following video demonstrates how memory is allocated in stack java & heap java.
This is complete guide to Java memory management
The JVM divided the memory into following sections.
Heap,
Stack,
Code,
Static.
What is Stack Memory?
Stack in java is a section of memory which contains methods, instance variables, and reference variables.
What is Heap Memory?
Heap is a section of memory which contains Objects and may also contain reference variables.
Like, share and subscribe our channel for more videos.
Watch more videos on our YouTube channel at / @guru99com
READ this as a book on Amazon by viewing at http://amzn.to/2han5hw
Visit our website for more! www.guru99.com
Read our blogs in https://www.guru99.com/blog/
FACEBOOK! Would you prefer to watch more about us? Like our page for more / guru99com
TWITTER! Tweet for us on Twitter with #guru99 and follow us on / guru99com
LinkedIn! Follow us here / guru99
THANKS! We appreciate you reading this and hope you have a wonderful day!
Sincerely,
Guru99
Смотрите видео Java Stack and Heap - Java Memory Management онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Guru99 22 Январь 2014, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 215,117 раз и оно понравилось 2.7 тысяч людям.