co to java example