Curioustab
Aptitude
General Knowledge
Verbal Reasoning
Computer Science
Interview
Aptitude
General Knowledge
Verbal Reasoning
Computer Science
Interview
Home
»
Interview
»
Technology
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; }
Show Answer
Correct Answer:
class King { private Soldier bestFriend; }
← Previous Question
Next Question→
Discussion & Comments
No comments yet. Be the first to comment!
Name:
Comment:
Post Comment