[otj-users] Question about team inheritance
Christine Hundt
resix at cs.tu-berlin.de
Fri Jul 27 17:39:44 CEST 2007
Hi Andreas,
> I have a little question about team inheritance.
>
> I got stuck while reading the OTLD regarding §1.3:
> "If an explicit *extends* clause is present in a team, the super-class
> must again be a team. Conversely, any subclass of a team (...) must
> again be a team. Interface implementation is not affected by this rule."
>
> What does the last sentence mean?
>
> In my opinion there are no specific "team interfaces", right? There are
> only "team classes". Thus a "team class" can only *implement* an
> interface but cannot *extend* it...
Yes, you are right, there are no specific team interfaces.
The last sentence only means, that there are no restrictions for
interface implementation on teams.
Greetings,
Christine
More information about the otj-users
mailing list