I need help implementing two-way composition. Assuming I have two classes:
Can I do that? The compiler will generate an error message saying that it does not recognise type "ClassB," since ClassB is declared only after ClassA. One would have to come before the other.
Any help would be greatly appreciated. Thanks.