Online Java Compiler By
JavaTpoint.com
public class SubtractExactExample1 { public static void main(String[] args) { long a = 732; long b = 190; // Input two values, Output subtraction of a and b System.out.println(Math.subtractExact(a, b)); } }
Output