Original value of circle
null.
It returns some type coversion error sayign can’t convert Shape to Share when you write “Share circle1 = circle;”
circle1 is the instantiated value of shape and wont be null
null
circle
5
Null
circle1 will reference to Shape object initially referenced by circle
Sorry for the confusion. It is Shape = circle1 = circle; and not Share; The answer will be circle1 will have value, since both are referring the same address from different stack location. The location of circle is assigned to null and not the circle1.
circle will contain Shape object
Share circle1 = circle; Shape and Share is different