Aventior Interview Question

Java Interview Question, Coding question Average,