Top

Discussion

Objects of a subclass can be assigned to a super class reference.

  • A.True
  • B.False

Answer: A

Objects of a super class may not be assigned to a sub class reference. Food for thought: why is it so?

No comment is present. Be the first to comment.
Loading…

Post your comment