Answer from cs61c-al (Phillip Chin 16156822) for Question 3 The Java equivalent to malloc is the new keyword. Whenever new is used, it creates a new object, which would require memory allocation. Java does not really have an equivalent to free as memory management is done automatically and when something is not being used, it will be cleared. In C it is impossible to tell whether or not an object is no longer needed. This is because of programs ability to cast pointers.