Java Float Min Method

# Introduction In some cases, we need to compare two floating-point numbers and determine which one is smaller. The Java 'Float' class provides a method `min()` that returns the smaller value out of two floating-point numbers passed to it.

|60 : 00

Click the virtual machine below to start practicing