Multiply two Floating Point Numbers in Java
package JavaQuestions;

/**
 * 
 * @author NaveenKhunteta
 *
 */
public class FloatingMultiplication {

	public static void main(String[] args) {

		float f1 = 2.5f;
		float f2 = 3.5f;

		System.out.println("the product is: " + (f1 * f2));

	}

}

Output:

the product is: 8.75