FloatingPoint Types
public class Main { public static void main(String[] args) { double pi = 3.14159; float f = 2.2F; System.out.println("pi = " + pi); System.out.println("f = " + f); int n = 15, d = 4; f = n / d; System.out.println("15/4 = " + f); int radius = 10; double area = pi * radius * radius; System.out.println("area = " + area); } }