McAfee interview question

Mostly based on java for automation