Answer from cs61c-ex (Aneirin Nunn 15254032) for Question 3 in java the keyword 'new' is similar to malloc's function in C, while free has no equivalent since Java has automatic garbage collection. I suppose it can't be done for C because of the way it works compared to Java.