Overflow occurs with multiplication

long m = 24 * 60 * 60 * 1000 * 1000; The above code creates overflow and doesn’t print the correct result. long m2 = 24L * 60 * 60 * 1000 * 1000; long m3 = 24 * 60 * 60 * 1000 * 1000L; The above 2 …