Option B is the way to go, my dude. Unless, of course, this is some kind of trick question and the right answer is actually Option D: 'All of the above, plus a dance routine and a live mariachi band.'
Option B, definitely. Who needs all that fancy builder pattern nonsense when you can just use a simple constructor? I bet the developer who wrote this question is some kind of hipster code snob.
Option B seems the most logical choice here. Creating a new service instance using the builder pattern is a best practice for creating complex objects like web service clients.
Essie
27 days agoDallas
28 days agoJovita
8 days agoKaran
29 days agoRoselle
1 months agoTerrilyn
8 days agoGeorgiana
9 days agoKaycee
2 months agoKip
2 months agoJerilyn
2 months agoStevie
24 days agoTanesha
1 months agoStephen
1 months agoLeota
2 months agoKaycee
2 months ago