Answer from cs61c-ep (Hao Wen Vivian Chong 15826235) for Question 3 The Java equivalent to malloc in C is new. delete is the Java equivalent to C's free. Because one can cast pointers in C to and from other pointer types, and this would not change the contents of the allocated storage, one wouldn't be able to tell if the memory was not longer needed.