+ 1

Java vs C/C++ Memory model

I know C++ has 4 major memory segments: stack,heap,code and global in order. How does Java model or handle the memory compared to that? P.S. I am new to Java :).

6th Nov 2018, 8:21 AM
Ahmed Amer
Ahmed Amer - avatar
1 Antwort
0
Java handles it for you 😌 You don’t need write any code to handle memory.
6th Nov 2018, 7:26 PM
Carlos J. Rodriguez
Carlos J. Rodriguez - avatar