The document discusses Java versions and new features. It notes that Java 7 introduced features like string switches and try-with-resources statements. It also discusses how to compile Java 7 code to target older Java versions like Java 6 and 1.4.2 by using the "-target jsr14" compiler flag, which allows using some but not all Java 7 features on older virtual machines.Read less
![Java7シンタックスで レガシーコードを快適メンテナンス](https://cdn-ak-scissors.b.st-hatena.com/image/square/780132f560528da65b614bb6086b195c14b2c5b7/height=288;version=1;width=512/https%3A%2F%2Fcdn.slidesharecdn.com%2Fss_thumbnails%2F2011-07-07-java7-lt-110707043351-phpapp02-thumbnail.jpg%3Fwidth%3D640%26height%3D640%26fit%3Dbounds)