In the sample, Class2 does maintain a relationship (the has-A kind) with Class1. But the relationship between Class2 and Class1 is uni-directional since Class1 does not maintain a relationship with Class2.
(A relationship between classes is "maintained" by a class holding a reference to another class. Class2 holds a reference to Class1 whereas Class1 does not hold a reference to Class2).
The question asks about the relationship between Class1 and Class2, not about the relationship between Class2 and Class1.
Based on this interpretation of the question, answer 1 is correct.
On the real exam you won't have questions requiring this much subtlety of interpretation.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
subject: has-a. equals (maintains No Relationship)