Java program to find pairs that can represent the given number as sum of two cubes
import java . util . * ; class GFG { static class pair { int first , second ; public pair ( int first , int second ) { this . first = first ; this . second = second ; } }