class containing classes
Posted on 1998-03-09
If a class contains classes.
Are those classes members or methods(well I presume they are members anyway).
If they are members, to whom are the methods from the class containing classes sending messages to. The contained classes, isn't it ? But when we deal with a class having int, strings or chars as members, the methods are sending messages to those members by changing their vallue. But what about sending messages to classes ?
What happens, actually will the members inside the classes wich are members get changed(recieve the message)?
I need some clarification on that matter.