Pergunta de entrevista da empresa Wealthfront

very basic java coding qns.