Online Java Compiler By
JavaTpoint.com
public class AddExactExample1 { public static void main(String[] args) { int a = 469; int b = 737; // Input two positive value, Output addition of a and b System.out.println(Math.addExact(a, b)); } }
Output