can a parent reference point to child object in java