|
发表于 2003-11-26 13:04:50
|
显示全部楼层
this case is not rare, especially in OOP due with data.
examples:
doctor need to have list of his patients, and for each patient , he need a record who are the doctors he have consulted. (in a hospital managing sys)
a record of bood need to keep track people who ordered it, and customers will have a list of books he ordered. (in a online book store , for example)
And eventurally you will face problems will need you do due with these kind of relationship, which may be much more complex. and if there is ever such a concept, there must be some situration need it, because computer language is make by humans. |
|