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

154
Courtney Courtney

Hello, please post an solution as well

152
Caroline Caroline

Nice website


Post your answer

You don't need to login to post answer



Ask Question


Note: Options are optional, you can leave them blank