Maximize value of ( a + b ) such that ( a * a | Java program to maximize the value of ( a + b ) such that ( a * a - b * b = N ) ; Function to maximize the value of ( a + b ) such that ( a * a - b * b = n ) ; Driver code
class GFG { static int maxValue ( int n ) { return n ; } public static void main ( String [ ] args ) { int n = 1 ; System . out . print ( maxValue ( n ) ) ; } }