Write in JAVA