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
4 months agoDallas
4 months agoTu
2 months agoChau
3 months agoIlona
3 months agoJovita
3 months agoKaran
4 months agoRoselle
4 months agoTerrilyn
3 months agoGeorgiana
3 months agoKaycee
4 months agoKip
4 months agoJerilyn
5 months agoStevie
4 months agoTanesha
4 months agoStephen
4 months agoLeota
4 months agoKaycee
5 months ago