class DoubleAndFloat { public static void main(String[] args) { float f = 1/3f; double d = 1/3d; System.out.println(f); System.out.println(d); } }