Why parent object cannot be assigned to a child reference in java? : <p>The is a compile time error displayed on the console when I try to assign a parent object to a child reference. Why parent object cannot be assigned to a child reference in java?</p>
