🔥 3-day streak
GitHub Copilot80 / 190
Question 80 of 190

A developer maintains a Java class `HttpRequestConfig` that currently has a single constructor with 11 parameters, several of which are optional booleans and timeouts. New teammates keep passing arguments in the wrong order, causing hard-to-diagnose bugs. The developer wants Copilot to help make object creation safer and more readable without changing the field set. Which approach best uses GitHub Copilot to improve productivity here while addressing the root problem?

Reviewed for accuracy · Report an issueNext question