Update B.java

added a line