There are 4 func A,B,C,D in a class, all the func A,B,C will need to call
the func D in their first line, is there any way simliar to class inhertance
then
I don't need to add func D inside each func and also able to execute it as
below?
Function A()
{
Function D();
}
Function B()
{
Function D();
}
Function C()
{
Function D();
}
ComputerJy - 24 Jan 2007 13:27 GMT
Unfortunately no, because in UML (Object Oriented Modeling) there are no
relations between methods within the same class
> There are 4 func A,B,C,D in a class, all the func A,B,C will need to call
> the func D in their first line, is there any way simliar to class
[quoted text clipped - 16 lines]
> Function D();
> }