This week's giveaway is in the EJB and other Java EE Technologies forum. We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line! See this thread for details.
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