public class Caveat1 { public static void main(String[] args) { double a; float b, c; a = 2.5f; b = 3.4f; c = a + b; // Error... } }