0
5.4kviews
What is a subtype discriminator? Give an example of its use.
1 Answer
0
364views

Subtype Discriminator

  • Consider the problem of inserting a new instance of a supertype.

    • Into which of the subtypes (if any) should this instance be inserted?
    • We need a simple mechanism to implement these rules.
    • This mechanism is called Subtype Discriminator.
  • A subtype discriminator : is an attribute of a supertype …

Create a free account to keep reading this post.

and 4 others joined a min ago.

Please log in to add an answer.