Garbage Collection Java Classes
===

In the following code, is the object rectangle possible to be destroyed by the garbage collector?

    ...
     Point point = new Point(2,4);
     Rectangle rectangle = new Rectangle (point, 20, 20);
     point = null;
    ...

I believe it is rational that both point and rectangle be destroyed by the garbage collector because rectangle references point which is nullified. 