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