 All variables or other storage locations which hold a reference to an object continue to hold a reference to that same object after it changes class.The circle and ellipse models are deliberately simplified to avoid distracting details which are not relevant to the circle–ellipse problem.An ellipse has two semi-axes called and in the code.