Just to clarify this concept guys, when we say Integral we mean int, short, byte and long, correct?
The reason why ask is that on page 55 of the OCA book, about numeric promotion, it says:
If one of the value is integral and the other is a floting-point, Java will automatically promote the integral value to the floating-point values's data type
Thing is, it's all nice and dandy if you promote a value from int to float, but what if you have a long? That surely can't be promoted to a floating-point...unless by floating-point we mean doube too...