It [java] does allow automatic narrowing following by boxing
Java does not allow for automatic widening followed by boxing, even for compile-time constants
i*i ==2 as now i==2
NEW SUN CERTIFIED PROGRAMMER FOR JAVA PLATFORM 6 EXAM
What are the differences between Sun Certified Programmer for Java Platform 5 (CX-310-055) and 6 (CX-310-065) exams?
Questions concerning System.gc() have been removed.
Coverage of the java.io.Console class has been added.
Coverage of navigable collections has been added.
Several of the previous objectives have been strengthened (so you can expect more questions and more detailed questions on them). These strengthened objectives include: exception handling, collection classes and collection interfaces, assertions, threads, and flow control.
Object o = new Juicy_Fruit();
than String s = (String) JF1 ; would be no problem
Juicy_Fruit JF1 = new Juicy_Fruit();