In: Computer Science
What is the purpose of the overlap rule?
An element of a superclass may not belong to multiple subtypes |
||
An element of a supertype can belong to multiple subtypes |
||
A subtype of a supertype can be a supertype of a further subtype |
||
Two subtypes must have the exact same membership |
An element of a supertype can belong to multiple subtypes
Instance of Super-type Person can be member of multiple Sub-types being Woman, Driver and Engineer Overlapping Union
if you have any doubt then please ask me without any hesitation
in the comment section below , if you like my answer then please
thumbs up for the answer , before giving thumbs down please discuss
the question it may possible that we may understand the question
different way and we can edit and change the answers if you argue,
thanks :)