Write a program to Find all the pairs whose sum present in the array in java