recentdate refers to a separate object whose contents are the same as those of olddate recentdate refers to the same object as olddate. the olddate object remains unchanged. a nullpointerexceptionis thrown. recentdate is a null reference.