Share some snippets from Java.