The java.math.BigDecimal.divide() method is used to divide the BigDecimal object just like division in Mathmatics.
Output:
Enter first and Second number: 25 5 Division is=5