ATOSS Software SE interview question

java basics and logical questions