some code of java