What happens when a child component inherits from a parent component with a different resource type?

  • A runtime exception is thrown
  • The child component inherits the resource type of the parent component
  • The child component maintains its own resource type
  • The inheritance process fails
When a child component inherits from a parent with a different resource type, the child component maintains its own resource type, not adopting the parent's.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *