Ola interview question

second highest salary, add two number in java