Morgan Stanley interview question

How does memory work in Java?

Interview Answer

Anonymous

Feb 10, 2018

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