Blue Yonder interview question

mostly on java and logical questions