adding java code
recommit for java code