Bank of America interview question

Java related questions