How to convert String to float in Java

  • 13 October 2016
  • ADM

How to convert String to float in Java using Float.parseFloat and Float.valueOf methods. Simple example provided.


Autoboxing and Unboxing in Java

  • 12 October 2016
  • ADM

In Java, autoboxing is the automatic conversion between the primitive types and their corresponding object wrapper classes. Unboxing is the other way around.