Verizon interview question

Java questions