Simple tests to show the differences between Java 5 syntax and the latest versions (7-8)