Neova Solutions interview question

Questions from advance java and project