class TypeA{
TypeB toTypeB{
//code
}
}
class TypeB{
TypeA toTypeA{
//code
}
}
Classes using each other
Hey. Can I do something like this:
If you're talking Java then yes you can. This is in fact a very common practice with respect to listeners and such.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement