Fidelity Investments interview question

Java program , Rest assured questions