Ready to use Java programs and snippets. Each one has the code, a short explanation and the real output.