Can an object be garbage collected while it is still reachable | Eklavya Online

Can an object be garbage collected while it is still reachable

A reachable object cannot be garbage collected. Only unreachable objects may be garbage collected..