You can add "=Java" to the first code tag to highlight the Java elements.

Can you post the output of the program?