What would be the result
Recommend you to install the JDK on your machine.
and why
A float can comfortably accomodate a long (and of course an int) within its range.
From the JLS:
The following 19 specific conversions on primitive types are called the widening primitive conversions:
� byte to short, int, long, float, or double
� short to int, long, float, or double
� char to int, long, float, or double
� int to long, float, or double
� long to float or double
� float to double
[ December 12, 2006: Message edited by: Aniket Patil ]