answersLogoWhite

0

At least in Java, that's legal - 2 is treated as an int, which can be converted without problems to the float type.

User Avatar

Wiki User

∙ 14y ago
User Avatar

What else can I help you with?