8.10.14.The following autoboxing assignment is illegal
public class MainClass { public static void main(String[] argv) {
Double wd = 123;
}
}
Exception in thread "main" java.lang.Error: Unresolved compilation problem:
Type mismatch: cannot convert from int to Double
at MainClass.main(MainClass.java:3)