Update Ant.java

made variables private