Answer from cs61c-ca (christina capozzola 571752195) for Question 3 java's equivalent to malloc is new. java's equivalent to C is the automatic garbage collector. an automatic memory allocation/deallocation system for C would require that the user run something in between his or her C code and the machine, like java is run on the virtual machine.