Morgan Stanley interview question

How does memory work in Java?

Interview Answer

Anonymous

10 Feb 2018

When a new object is declared with the keyword "new", that object's memory is added to the heap.