Easy programs on Java