System.out.println("example of divide by zero"+divide("42","10"));
double temp=0.0d; try { int num = Integer.parseInt(numberHours); int den = Integer.parseInt(rate); temp = num/den; System.out.println("temp"+temp); } catch (Exception e){ System.out.println("Generic exception catch"+e); } return temp;
DivideByZero d = new DivideByZero();