Question: what is the difference between float and float in java?
Answer: What is the difference between the types 'float' and 'Float' in Java? Answer: A variable of type float contains an IEEE single precision number, while a variable of type Float contains a pointer to an object encapsulating an IEEE single precision number. The class Float is called an object wrapper of the type float .