← Back to Week 5

Has-A Hunter

Read each pair of classes. Pick the has-a relationship that actually exists between them.

🔍

Has-A Hunter

For each scenario, you'll see two classes and a description of their fields. Decide whether one class has-a reference to the other, both directions exist, or neither.

🏆

Round Complete!

Final Score

Heuristic: search for private SomeClass field; — that's a has-a. No field, no has-a.

← Static or Instance Bug Hunter 4 →