Answer from cs61c-eg (Ramanarayan Vasudevan 15938560) for Question 3 Java has no equivalent to malloc or free in C. Rather the compiler and the program itself work to automatically garbage collect. This is why no automatic memory allocation system exists for Java.