new java codes