Atos-Syntel interview question

There were all technical questions basic Java ones