Best writers. Best papers. Let professionals take care of your academic papers

Order a similar paper and get 15% discount on your first order with us
Use the following coupon "FIRST15"
ORDER NOW

Which of the following statements about type compatibility is true?

Which of the following statements about type compatibility is true?

options:

An object of a subclass can be assigned to a reference to its superclass without a type cast
An object of a subclass can be assigned to a reference to its superclass, but type casting is required
Assigning an object of a superclass to a reference to one of its subclasses always causes a compilation error whether type casting is used or not
An object of a superclass can be assigned to a reference to one of its subclasses without casting
 
Looking for a Similar Assignment? Order now and Get 10% Discount! Use Coupon Code "Newclient"