Update README.md

Fence Java code in syntax-highlighting blocks and fix up a few inline code declarations.