battle.java

now java code