Online Java Compiler By
JavaTpoint.com
public class FloorDivExample4 { public static void main(String[] args) { long x = 2148; long y= -1; // Input positive value and -1, Output first argument System.out.println(Math.floorDiv(x, y)); } }
Output