NICE Actimize interview question

Mostly basic and advance java