Accenture Interview Question: Explain memory management dif... | Glassdoor

Interview Question

Federal Java Developer Interview Saint Louis, MO

Explain memory management differences between Java and C++.


Interview Answer

1 Answer


The differences between memory management in Java and C++ is that Java has a garbage collector which does the memory management; however, C++ does not and requires you to have a destructor method that will clear cache, variables.

Angelawesome on Aug 26, 2012

Add Answers or Comments

To comment on this, Sign In or Sign Up.