Here you can find the source of div(int a, int b)
public static int div(int a, int b)
//package com.java2s; public class Main { public static int div(int a, int b) { if (b != 0) { return a / b; } else// www. j a v a 2 s. co m throw new ArithmeticException("Divisor is Zero"); } }