Added some java-mode snippets.
Improved some cc-mode snippets.