Hello
I don't see the logic at all behind the devision by 0 in
Java.
Example # 1:
int a = 0;
int b = 2;
int c = b/a;
//Result is Exception in
thread "main" java.lang.ArithmeticException: / by zero
Example #2:
int a = 0;
double b = 3.14;
double c =b/a;
//Result
Infinity
IT'S very strange .
What do you think?
Thanks