โ† Thoughtworks questions

Determine tennis match winner with object modeling

Filed under Thoughtworks

The question

Read the scores of a tennis match round from the console and output the winner. Implement the solution using clean object-oriented modeling with appropriate classes, methods, and variable names rather than just raw procedural logic.

No write-up yet. Related questions below have one.

Related Thoughtworks questions

Collected from public candidate posts and coding forums. Updated Nov 2026.