sample java code eclipse