Answer from cs61c-ev (Roland Carlos 16583196) for Question 3 Allocation in Java is automatic and hidden from the user, so malloc is handled by a hidden allocation method by Java. The Java equivalent to free is the routine generational garbage collection done by the Java Virtual Machine. An automatic memory allocation/deallocation system cannot be put in C because C can cast pointers (even void ones) returned by dynamic allocation, whose lifetime could last the entire program span. Because of their possible unstable nature, an automatic allocation/deallocation is not possible.