Depends on if you are using version 1.7 which has a new syntax. Before 1.7 it was always a {
Type: Posts; User: Norm
Depends on if you are using version 1.7 which has a new syntax. Before 1.7 it was always a {
What version of the JDK are you using? There is a new version of the try statement in 1.7: try-with-resources
It uses a ( instead of a { after the try.
BTW The posted code is poorly formatted...