Ola Interview Question

second highest salary, add two number in java