* basic java code snippets