What will the answer or error if I tried to perform operation divide by zero in java ?

What will the answer or error if I tried to perform operation divide by zero in java ? Either 1. Infinity or 2. divide by zero error. As the mathematical term, if you try to divide any number by zero then it will gives answer of infinite. And as the program if we are going