if 2 primitives are compared then the lower is automatically get converted to the higher, so the answer was given to be true, why ?
posted 14 years ago
Java can not compare two primatives of different types. So it can't compare an int to a double. It has to first convert the int to a double and then it will compare the two double values. So Java will convert the lower to a higher when two primatives are compared. Bill