Active Users --   Active users on this page

Verified Question

Which king class properly represents the relationship "King has a best friend who is a Soldier"

  • class King extends Soldier { }
  • class King implements Soldier { }
  • class King { private BestFriend Soldier; }
  • ✅ class King { private Soldier bestFriend; }



Answer is "class King { private Soldier bestFriend; }"

2 Answer and explanations

You don't need to login to post your comment

246
Sierra Sierra

hmm, where is the explanation

187
Abigail Abigail

Please please explain this answer to me


Post your answer

You don't need to login to post answer



Ask Question


Note: Options are optional, you can leave them blank