Fast forward to Java SE 7, you can now use Strings inside a switch statement. Unlike previous versions, putting Strings on a switch would produce an error but on Java 7, finally a switch comparator is enabled. Much more flexibility now.
Written By: techieDan on November 5, 2009No Comment
After being in the limelight as the new source of Java with it’s new improved method of writing the Java language, Java 5 (J2SE 5) has reached it’s EOLS (End Of Life Service) and is now put into the archives page of the Sun Java’s page. Looks like Java 5 is going to phase out [...]