Arrow Electronics interview question

Nothing to share, prepare very simple questions from Java.